Summary
The libxml2 library is a development toolbox providing the implementation of various XML standards.
Security Fix(es):
* libxml2: libxml2: Arbitrary code execution via heap-based buffer overflow (CVE-2026-86138)
* libxml2: libxml2: Data integrity issues due to integer overflow in write callbacks (CVE-2026-86143)
* libxml2: libxml2: Arbitrary code execution via stack-based buffer overflow in xmlSnprintfElements (CVE-2026-86140)
* libxml2: libxml2: Information disclosure, SSRF, or denial of service due to improper parseFlags propagation. (CVE-2026-86144)
* libxml2: double-free/UAF in libxml2 Python bindings (CVE-2026-74860)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Fixed packages 3
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 8 | libxml2 | 2.9.7-21.el8_10.9 |
| AlmaLinux · 8 | libxml2-devel | 2.9.7-21.el8_10.9 |
| AlmaLinux · 8 | python3-libxml2 | 2.9.7-21.el8_10.9 |
Vulnerabilities 5
-
High 8.5
Libxml2: double-free/uaf in libxml2 python bindings
A flaw was found in libxml2 with Python bindings enabled. A remote attacker could exploit this vulnerability by providing a specially crafted XML document containing a Document Type Definition (DTD) with enumerated attribute values. This triggers a double-fre…
-
High 8.0
In libxml2 before 2.15.4, xmlSnprintfElements in valid.c has a strcat stack-based buffer overflow.
-
Medium 6.9
In libxml2 before 2.15.4, xmlDictAddQString in dict.c has an integer overflow and resultant heap-based buffer overflow.
-
Medium 6.9
In xmlIO in libxml2 before 2.15.4, an inconsistency in xmlOutputWriteCallback and xmlBufUse causes negative lengths to …
-
Medium 5.6
In xinclude in libxml2 before 2.15.4, xmlXIncludeProcess and xmlXIncludeProcessTree do not propagate parseFlags. This h…
References
-
report
https://access.redhat.com/security/cve/CVE-2026-74860
-
report
https://access.redhat.com/security/cve/CVE-2026-86138
-
report
https://access.redhat.com/security/cve/CVE-2026-86140
-
report
https://access.redhat.com/security/cve/CVE-2026-86143
-
report
https://access.redhat.com/security/cve/CVE-2026-86144
-
report
https://bugzilla.redhat.com/2528986
-
report
https://bugzilla.redhat.com/2528987
-
report
https://bugzilla.redhat.com/2528989
-
report
https://bugzilla.redhat.com/2528992
-
report
https://bugzilla.redhat.com/2529697
-
advisory
https://errata.almalinux.org/8/ALSA-2026-71641.html