Integer Overflow or Wraparound Affecting expat package, versions <2.5.0-1+deb12u1


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
1.13% (63rd 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-ECHOLATEST-EXPAT-18426769
  • published30 Jul 2026
  • disclosed30 Aug 2024

Introduced: 30 Aug 2024

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

How to fix?

Upgrade Echo:latest expat to version 2.5.0-1+deb12u1 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 Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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

CVSS Base Scores

version 3.1