Where
-Infinity
0

Vendor Risk Score

See how libexpat project compares to other vendors in security performance

View Risk Score →
Severity
8.2
Integer Overflow
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

libexpat through 2.9.0 contains a signed integer overflow vulnerability in storeAtts() in lib/xmlparse.c that allows attackers to trigger out-of-bounds writes via oversized attribute counts. Attackers can supply a multi-gigabyte document with a start tag carrying over 2^30 attributes to overflow attIndex and nPrefixes, crashing applications or corrupting heap memory.

1 / 2
Source: MITRE
First published (updated )
Severity
8.2
Null Pointer Dereference
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

libexpat through 2.9.0 contains a NULL pointer dereference vulnerability in externalEntityInitProcessor2() in lib/xmlparse.c that mishandles the XMLTOKNONE token from empty input. Attackers who control stream chunking can force an empty non-final first parse on an external entity subparser, causing a later parse to crash the application.

1 / 3
Source: Ubuntu
First published (updated )
Severity
8.7
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

libexpat through 2.9.0 contains a denial of service vulnerability because billion laughs protection in accountingDiffTolerated() in xmlparse.c detects entity amplification too late. Attackers can supply a moderately sized XML document with a large DTD and nested entity expansions to consume tens of seconds of CPU per parse.

1 / 3
Source: Ubuntu
First published (updated )
Severity
8.2
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

libexpat 2.7.2 through 2.9.0 contains a denial of service vulnerability because XMLParserReset zeroes the direct byte count but never offsets tracked heap allocations. Attackers can submit a large XML document so later documents on the same reset parser fail with XMLERRORNOMEMORY until it is recreated.

1 / 2
Source: Ubuntu
First published (updated )
Severity
7.8
Use After Free
AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Last updated 24 September 2026

1 / 2
Source: Ubuntu
First published (updated )
Severity
7.5
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

In libexpat 2.8.2 and 2.8.3 before 2.8.4, misinterpretation of getentropy's return code leads to insufficient entropy, which results in being vulnerable to hash flooding attacks, causing a denial of service via crafted XML content.

First published (updated )
Severity
8.7
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Expat Denial of Service via storeAtts() Quadratic Complexity

1 / 3
Source: Microsoft
First published (updated )
Severity
5.9
Use After Free
AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Last updated 21 September 2026

1 / 2
Source: Ubuntu
First published (updated )
Severity
6.9
Integer Overflow
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

Last updated 24 September 2026

1 / 2
Source: Ubuntu
First published (updated )
Severity
6.9
Integer Overflow
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

Last updated 24 September 2026

1 / 2
Source: Ubuntu
First published (updated )
Severity
6.5
Integer Overflow
AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L

Last updated 24 September 2026

1 / 2
Source: Ubuntu
First published (updated )
Severity
6.9
Integer Overflow
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

Last updated 21 September 2026

1 / 2
Source: Ubuntu
First published (updated )
Severity
6.9
Integer Overflow
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

Last updated 24 September 2026

1 / 2
Source: Ubuntu
First published (updated )
Severity
6.9
Integer Overflow
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

Last updated 24 September 2026

1 / 2
Source: Ubuntu
First published (updated )
Severity
6.9
Integer Overflow
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

Last updated 6 October 2026

1 / 2
Source: Ubuntu
First published (updated )
Severity
6.9
Integer Overflow
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

Last updated 6 October 2026

1 / 2
Source: Ubuntu
First published (updated )
Severity
6.9
Integer Overflow
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

Last updated 21 September 2026

1 / 2
Source: Ubuntu
First published (updated )
Severity
6.9
Buffer Overflow
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

In libexpat before 2.8.2, there is a heap-based buffer overflow in doProlog in xmlparse.c because scaffold backing array reallocation is mishandled when there is data-structure sharing across parsers.

1 / 2
Source: MITRE
First published (updated )
Severity
4.9
Use After Free
AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

libexpat before 2.8.2 lacks handler call depth tracking for calls to XMLResumeParser from within handlers in cases of a policy violation. Thus, a use-after-free can occur (similar to the CVE-2026-50219 situation).

First published (updated )
Severity
5.9
Use After Free
AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Last updated 21 September 2026

1 / 2
Source: Ubuntu
First published (updated )
Severity
7.5
AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

In libexpat before 2.8.1, the computational complexity of attribute name collision checks allows a denial of service via moderately sized crafted XML input.

1 / 2
Source: Microsoft
First published (updated )
Severity
7.5
AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Last updated 21 September 2026

1 / 2
Source: Ubuntu
First published (updated )
Severity
5.5
EPSS
0.01%
Null Pointer Dereference
AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U

Last updated 21 September 2026

1 / 2
Source: Ubuntu
First published (updated )
Severity
5.5
EPSS
0.01%
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U

Last updated 21 September 2026

1 / 2
Source: Ubuntu
First published (updated )
Severity
5.5
EPSS
0.01%
Null Pointer Dereference
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

libexpat before 2.7.5 allows a NULL pointer dereference with empty external parameter entity content.

First published (updated )
Severity
7.8
EPSS
0.01%
Integer Overflow
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

In libexpat before 2.7.4, the doContent function does not properly determine the buffer size bufSize because there is no integer overflow check for tag buffer reallocation.

First published (updated )
Severity
2.9
EPSS
0.01%
Null Pointer Dereference
AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

In libexpat before 2.7.4, XMLExternalEntityParserCreate does not copy unknown encoding handler user data.

First published (updated )
Severity
5.5
AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U

In libexpat through 2.7.3, a crafted file with an approximate size of 2 MiB can lead to dozens of seconds of processing time.

First published (updated )
Severity
7.5
Use After Free, Race Condition, Input Validation, Integer Overflow
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Accessibility. A privacy issue was addressed by removing sensitive data.

1 / 44
Source: Apple
First published (updated )
Severity
5.9
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

An issue was discovered in libexpat before 2.6.4. There is a crash within the XMLResumeParser function because XMLStopParser can stop/suspend an unstarted parser.

1 / 2
Source: NVD
First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203