Buffer Over-read Affecting expat package, versions <2.11.0-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.35% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-EXPAT-22989745
  • published26 Nov 2026
  • disclosed7 Nov 2026

Introduced: 7 Nov 2026

NewCVE-2026-124317  (opens in a new tab)
CWE-126  (opens in a new tab)

How to fix?

Upgrade Chainguard expat to version 2.11.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream expat package and not the expat package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1