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, ELA-1190-1
Debian Bugs1080150

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
expat (PTS)jessie, jessie (lts)2.1.0-6+deb8u12fixed
stretch (security)2.2.0-2+deb9u5vulnerable
stretch (lts), stretch2.2.0-2+deb9u9fixed
buster, buster (lts)2.2.6-2+deb10u8fixed
buster (security)2.2.6-2+deb10u7vulnerable
bullseye2.2.10-2+deb11u5vulnerable
bullseye (security)2.2.10-2+deb11u6fixed
bookworm (security), bookworm2.5.0-1+deb12u1fixed
sid, trixie2.6.4-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
expatsourcejessie2.1.0-6+deb8u12ELA-1190-1
expatsourcestretch2.2.0-2+deb9u9ELA-1190-1
expatsourcebuster2.2.6-2+deb10u8ELA-1190-1
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