CVE-2026-124317
Published: November 11, 2026Last modified: November 28, 2026
Description
libexpat through 2.10.0 contains an out-of-bounds read vulnerability in unknown_toUtf8() and unknown_toUtf16() in xmltok.c when handling application-registered unknown encodings. Attackers can supply a document ending in a truncated multibyte sequence so the convert callback reads past the parse buffer, leaking adjacent memory or crashing applications.
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score | 4.8 |
| Attack Vector | NETWORK |
| Attack complexity | HIGH |
| Privileges required | NONE |
| User interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality | LOW |
| Integrity impact | NONE |
| Availability impact | LOW |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L |
Status
| Product | Release | Package | Status |
|---|---|---|---|
| Alpaquita Linux | 23 LTS | expat | Fixed (2.11.0-r0) |
| 25 LTS | expat | Fixed (2.11.0-r0) | |
| Stream | expat | Fixed (2.11.0-r0) | |
| Hardened Containers | 23 LTS | expat | Fixed (2.11.0-r0) |
| 25 LTS | expat | Fixed (2.11.0-r0) | |
| Stream | expat | Fixed (2.11.0-r0) |
References
- https://github.com/libexpat/libexpat
- https://github.com/libexpat/libexpat/blob/a70841d9ffa64ddde29ab824ed6305035ebe4c47/expat/lib/xmltok.c#L1274-L1322
- https://github.com/libexpat/libexpat/pull/1492
- https://github.com/libexpat/libexpat/commit/3f83976721f156ea77173bc76fa49e6c077e817f
- https://www.vulncheck.com/advisories/libexpat-through-2.10.0-out-of-bounds-read-via-unknown-toutf8-and-unknown-toutf16