CVE-2022-25313

NameCVE-2022-25313
DescriptionIn Expat (aka libexpat) before 2.4.5, an attacker can trigger stack exhaustion in build_model via a large nesting depth in the DTD element.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2935-1, DSA-5085-1, ELA-574-1

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+deb9u5fixed
stretch (lts), stretch2.2.0-2+deb9u9fixed
buster, buster (lts)2.2.6-2+deb10u8fixed
buster (security)2.2.6-2+deb10u7fixed
bullseye2.2.10-2+deb11u5fixed
bullseye (security)2.2.10-2+deb11u6fixed
bookworm2.5.0-1fixed
bookworm (security)2.5.0-1+deb12u1fixed
sid, trixie2.6.3-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
expatsourcejessie2.1.0-6+deb8u8ELA-574-1
expatsourcestretch2.2.0-2+deb9u5DLA-2935-1
expatsourcebuster2.2.6-2+deb10u3DSA-5085-1
expatsourcebullseye2.2.10-2+deb11u2DSA-5085-1
expatsource(unstable)2.4.5-1

Notes

https://github.com/libexpat/libexpat/pull/558
https://github.com/libexpat/libexpat/commit/9b4ce651b26557f16103c3a366c91934ecd439ab

Search for package or bug name: Reporting problems