CVE-2024-58392

NameCVE-2024-58392
DescriptionPhysicsFS through 3.2.0 contains an out-of-bounds read vulnerability in __PHYSFS_utf8codepoint() that allows attackers to read past name buffers via an off-by-one cursor advance on six-octet UTF-8 sequences. Attackers can supply a crafted archive with entry names ending in six-octet sequences, causing PHYSFS_utf8stricmp() and hashing to over-read and crash the application.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1152517

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libphysfs (PTS)bookworm, trixie3.0.2-6vulnerable
forky, sid3.2.0-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libphysfssource(unstable)(unfixed)unimportant1152517

Notes

https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5
https://github.com/icculus/physfs/issues/79
https://github.com/icculus/physfs/pull/80
Negligible security impact

Search for package or bug name: Reporting problems