USN-9196-1: Expat vulnerabilities
It was discovered that Expat did not properly validate UTF-16 surrogate pairs. An attacker could possibly use this issue to pass malformed characters to applications using Expat, resulting in unexpected behavior. (CVE-2026-93990) It was discovered that Expat incorrectly computed memory allocation sizes on 32-bit platforms, leading to an integer overflow. An attacker could possibly use this issue to cause Expat to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-102633) It was discovered that Expat did not properly validate buffer lengths under certain circumstances, leading to a heap buffer over-read. An attacker could possibly use this issue to cause Expat to crash, resulting in a denial of service, or obtain sensitive information. (CVE-2026-77214) It was discovered that Expat detected certain entity expansion attacks too late. An attacker could possibly use this issue to cause Expat to consume excessive resources, leading to a denial of service. (CVE-2026-115506) It was discovered that Expat incorrectly tracked memory allocations when a parser was reset. An attacker could possibly use this issue to cause later documents parsed with the same parser to fail, resulting in a denial of service. This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-113351) It was discovered that Expat incorrectly handled a very large number of attributes, leading to an integer overflow. An attacker could possibly use this issue to cause Expat to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2026-118370) It was discovered that Expat incorrectly handled empty input to external entity parsers, leading to a NULL pointer dereference. An attacker could possibly use this issue to cause Expat to crash, resulting in a denial of service. (CVE-2026-117610) It was discovered that Expat incorrectly handled truncated multibyte sequences in documents with unknown encodings, leading to an out-of-bounds read. An attacker could possibly use this issue to cause Expat to crash, resulting in a denial of service, or obtain sensitive information. (CVE-2026-124317) It was discovered that the xmlwf tool in Expat followed symbolic links when writing output files with the -d option. A local attacker could possibly use this issue to overwrite files with the privileges of the user running xmlwf. This update also changes xmlwf to create these output files with 0600 permissions. (CVE-2026-128241) It was discovered that Expat could split UTF-16 surrogate pairs when converting UTF-16 input in non-native byte order. An attacker could possibly use this issue to pass malformed characters to applications using Expat, resulting in unexpected behavior. (CVE-2026-134703)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/expatto a version that resolves this vulnerability.Fixed in 2.7.4-1ubuntu0.3 - Upgrade
Upgrade
ubuntu/libexpat1to a version that resolves this vulnerability.Fixed in 2.7.4-1ubuntu0.3 - Upgrade
Upgrade
ubuntu/expatto a version that resolves this vulnerability.Fixed in 2.6.1-2ubuntu0.7 - Upgrade
Upgrade
ubuntu/libexpat1to a version that resolves this vulnerability.Fixed in 2.6.1-2ubuntu0.7 - Upgrade
Upgrade
ubuntu/expatto a version that resolves this vulnerability.Fixed in 2.4.7-1ubuntu0.10 - Upgrade
Upgrade
ubuntu/libexpat1to a version that resolves this vulnerability.Fixed in 2.4.7-1ubuntu0.10 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch USN-9196-1
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which systems need special attention for the 32-bit allocation overflow issue?
The integer-overflow issue identified as CVE-2026-102633 only affects Ubuntu 24.04 LTS and Ubuntu 26.04 LTS, and occurs on 32-bit platforms. The provided information does not state that this restriction applies to the other issues.
What access would an attacker need to trigger these issues?
An attacker would need to cause an application using Expat to process crafted input. Depending on the issue, this may involve malformed UTF-16 surrogate pairs, inputs exercising incorrect buffer-length validation, entity expansion attacks, or parser-reset behavior.