Out-of-bounds Read Affecting expat package, versions [,2.9.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (27th 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 Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-EXPAT-21707495
  • published25 Oct 2026
  • disclosed7 Oct 2026
  • creditUnknown

Introduced: 7 Oct 2026

CVE-2026-77214  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade expat to version 2.9.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read in the XML_ParseBuffer process. An attacker can disclose adjacent heap memory, including heap pointers and code pointers, by repeatedly invoking XML_ParseBuffer with crafted input that advances the buffer end beyond the allocated memory. This is only exploitable if a parse buffer is already present, which occurs after a prior call to XML_GetBuffer or an internal allocation via a previous XML_Parse call.

CVSS Base Scores

version 4.0
version 3.1