CVE-2022-40303
HIGH7.5EPSS 0.23%libxml2 - security update
Published: 11/23/2022Modified: 4/28/2026
Description
An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XML_PARSE_HUGE parser option enabled, several integer counters can overflow. This results in an attempt to access an array at a negative 2GB offset, typically leading to a segmentation fault.
Affected packages (4)
- Alpine/libxml2from 0, < 2.9.14-r2
- Debian/libxml2from 0, < 2.9.10+dfsg-6.7+deb11u3
- Debian/libxml2from 0, < 2.9.4+dfsg1-7+deb10u5
- Debian/libxml2from 0, < 2.9.10+dfsg-6.7+deb11u3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |