CVE-2024-45491

libexpat: Integer Overflow or Wraparound

Published Aug 30, 2024 CVSS 3.1 · 7.3 High EPSS 1.1% KEV · Not listed
Description
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).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3893-1 expat security update
Debian DSA Debian DSA DSA-5770-1 expat security update
Ubuntu USN Ubuntu USN USN-7000-1 Expat vulnerabilities
Ubuntu USN Ubuntu USN USN-7000-2 Expat vulnerabilities
Ubuntu USN Ubuntu USN USN-7001-1 xmltok library vulnerabilities
Ubuntu USN Ubuntu USN USN-7001-2 xmltok library vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00107}

epss

{'score': 0.00087}

Type Values Removed Values Added
CPEs cpe:/a:redhat:service_interconnect:1::el9
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.17::el9
Type Values Removed Values Added
First Time appeared Redhat openshift
CPEs cpe:/a:redhat:openshift:4.16::el9
Vendors & Products Redhat openshift
Type Values Removed Values Added
First Time appeared Redhat service Interconnect
CPEs cpe:/a:redhat:service_interconnect:1.4::el9
Vendors & Products Redhat service Interconnect
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:8
Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Type Values Removed Values Added
Title libexpat: Integer Overflow or Wraparound
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Libexpat Project
Libexpat Project libexpat
CPEs cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*
Vendors & Products Libexpat Project
Libexpat Project libexpat
Type Values Removed Values Added
First Time appeared Libexpat
Libexpat expat
Weaknesses CWE-190
CPEs cpe:2.3:a:libexpat:expat:*:*:*:*:*:*:*:*
Vendors & Products Libexpat
Libexpat expat
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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).
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 15, 2026, 12:50 AM
Reserved
Aug 30, 2024, 12:00 AM
Status
Modified
Published
Aug 30, 2024, 3:15 AM
Modified
Jun 17, 2026, 7:54 AM
Severity
Moderate
Public date
Aug 30, 2024, 3:15 AM