libexpat Buffer Size Mismanagement in doContent Function Leading to Integer Overflow Vulnerability

Vulnerability

A vulnerability exists in libexpat versions prior to 2.7.4, where the doContent function improperly calculates the buffer size due to a lack of integer overflow checks during tag buffer reallocation. This oversight can lead to memory allocation errors or potential exploitation.

Impact

The vulnerability allows for integer overflow, which can be exploited to cause memory allocation errors or potentially manipulate memory in a way that could be exploited.

Remediation

Users can upgrade to libexpat version 2.7.4 or later to address this vulnerability.

Added: Jan 30, 2026, 7:18 AM
Updated: Jan 30, 2026, 7:18 AM

Vulnerability Rating

Custom Algorithm
spread
8.4
impact
0.6
exploitability
5.3
remediation
7.7
relevance
2.4
threat
3.2
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.