USN-6579-1: Xerces-C++ vulnerability

Publication date

11 January 2024

Overview

Xerces-C++ could be made to crash or run programs if it opened a specially crafted file.


Packages

  • xerces-c - Validating XML parser written in a portable subset of C++

Details

It was discovered that Xerces-C++ was not properly handling memory
management operations when parsing XML data containing external DTDs,
which could trigger a use-after-free error. If a user or automated system
were tricked into processing a specially crafted XML document, an attacker
could possibly use this issue to cause a denial of service or execute
arbitrary code.

It was discovered that Xerces-C++ was not properly handling memory
management operations when parsing XML data containing external DTDs,
which could trigger a use-after-free error. If a user or automated system
were tricked into processing a specially crafted XML document, an attacker
could possibly use this issue to cause a denial of service or execute
arbitrary code.

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
18.04 bionic libxerces-c-samples –  3.2.0+debian-2ubuntu0.1~esm2  
libxerces-c3.2 –  3.2.0+debian-2ubuntu0.1~esm2  
16.04 xenial libxerces-c-samples –  3.1.3+debian-1ubuntu0.1~esm2  
libxerces-c3.1 –  3.1.3+debian-1ubuntu0.1~esm2  
14.04 trusty libxerces-c-samples –  3.1.1-5.1+deb8u4ubuntu0.1~esm1  
libxerces-c3.1 –  3.1.1-5.1+deb8u4ubuntu0.1~esm1  

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 ›