CVE-2024-45491

NameCVE-2024-45491
DescriptionAn 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).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3893-1, DSA-5770-1
Debian Bugs1080150

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
expat (PTS)bullseye2.2.10-2+deb11u5vulnerable
bullseye (security)2.2.10-2+deb11u6fixed
bookworm2.5.0-1vulnerable
bookworm (security)2.5.0-1+deb12u1fixed
sid, trixie2.6.3-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
expatsourcebullseye2.2.10-2+deb11u6DLA-3893-1
expatsourcebookworm2.5.0-1+deb12u1DSA-5770-1
expatsource(unstable)2.6.2-21080150

Notes

https://github.com/libexpat/libexpat/pull/891
https://github.com/libexpat/libexpat/issues/888
https://github.com/libexpat/libexpat/commit/b8a7dca4670973347892cfc452b24d9001dcd6f5 (R_2_6_3)

Search for package or bug name: Reporting problems