Integer Overflow or Wraparound Affecting expat package, versions <2.6.3-r0


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
1.39% (69th 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-17763563
  • published1 Jul 2026
  • disclosed30 Aug 2024

Introduced: 30 Aug 2024

CVE-2024-45492  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Chainguard expat to version 2.6.3-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.

An issue was discovered in libexpat before 2.6.3. nextScaffoldPart in xmlparse.c can have an integer overflow for m_groupSize on 32-bit platforms (where UINT_MAX equals SIZE_MAX).

CVSS Base Scores

version 3.1