USN-8787-1: libxml2 vulnerabilities

Publication date

21 September 2026

Overview

Several security issues were fixed in libxml2.


Packages

Details

It was discovered that libxml2 incorrectly handled certain XML elements
under certain circumstances. An attacker could possibly use this issue to
cause libxml2 to crash or execute arbitrary code. (CVE-2026-86140)

It was discovered that libxml2 incorrectly handled certain XML documents
when used with Python bindings. A remote attacker could possibly use this
issue to cause applications using libxml2 to crash, resulting in a denial
of service. (CVE-2026-74860)

It was discovered that libxml2 incorrectly handled certain XML elements
under certain circumstances. An attacker could possibly use this issue to
cause libxml2 to crash or execute arbitrary code. (CVE-2026-86140)

It was discovered that libxml2 incorrectly handled certain XML documents
when used with Python bindings. A remote attacker could possibly use this
issue to cause applications using libxml2 to crash, resulting in a denial
of service. (CVE-2026-74860)

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
26.04 LTS resolute libxml2-16 –  2.15.2+dfsg-0.1ubuntu0.2
libxml2-utils –  2.15.2+dfsg-0.1ubuntu0.2
python3-libxml2 –  2.15.2+dfsg-0.1ubuntu0.2
24.04 LTS noble libxml2 –  2.9.14+dfsg-1.3ubuntu3.9
libxml2-utils –  2.9.14+dfsg-1.3ubuntu3.9
python3-libxml2 –  2.9.14+dfsg-1.3ubuntu3.9
22.04 LTS jammy libxml2 –  2.9.13+dfsg-1ubuntu0.13
libxml2-utils –  2.9.13+dfsg-1ubuntu0.13
python3-libxml2 –  2.9.13+dfsg-1ubuntu0.13
20.04 LTS focal libxml2 –  2.9.10+dfsg-5ubuntu0.20.04.10+esm5  
python-libxml2 –  2.9.10+dfsg-5ubuntu0.20.04.10+esm5  
python3-libxml2 –  2.9.10+dfsg-5ubuntu0.20.04.10+esm5  
18.04 LTS bionic libxml2 –  2.9.4+dfsg1-6.1ubuntu1.9+esm8  
python-libxml2 –  2.9.4+dfsg1-6.1ubuntu1.9+esm8  
python3-libxml2 –  2.9.4+dfsg1-6.1ubuntu1.9+esm8  
16.04 LTS xenial libxml2 –  2.9.3+dfsg1-1ubuntu0.7+esm13  
libxml2-utils –  2.9.3+dfsg1-1ubuntu0.7+esm13  
python-libxml2 –  2.9.3+dfsg1-1ubuntu0.7+esm13  
14.04 LTS trusty libxml2 –  2.9.1+dfsg1-3ubuntu4.13+esm12  
libxml2-utils –  2.9.1+dfsg1-3ubuntu4.13+esm12  
python-libxml2 –  2.9.1+dfsg1-3ubuntu4.13+esm12  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›