CVE-2024-45492:
An issue was discovered in libexpat before 2.6.3. nextScaffoldPart in xmlparse.c can have an...
7.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.45242%
CWE
Published
8/30/2024
Updated
8/30/2024
KEV Status
No
Technology
-
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The provided commit directly patches the function nextScaffoldPart
in xmlparse.c
to prevent an integer overflow. The vulnerability description explicitly mentions nextScaffoldPart
and the m_groupSize
variable, which is used in the vulnerable calculation within this function. The patch adds a pre-allocation check for parser->m_groupSize * sizeof(int)
, confirming this is where the overflow could occur.