Vulnerability · Published Oct 14, 2026 · Assigned by VulnCheck
CVE-2024-58392PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepoint
Low 3.3
In plain English
A low-severity out-of-bounds read in PhysicsFS from icculus. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 6% of all known vulnerabilities).
Official description
PhysicsFS 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libphysfs | no fix listed | DEBIAN-CVE-2024-58392 |
| Debian:13 | libphysfs | no fix listed | DEBIAN-CVE-2024-58392 |
| Debian:14 | libphysfs | no fix listed | DEBIAN-CVE-2024-58392 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
References
- https://github.com/icculus/physfs/issues/79 issue-tracking
- https://hackmd.io/@haind-pwn/physfs-utf8-decoder-overread third-party-advisory
- https://github.com/icculus/physfs/blob/release-3.2.0/src/physfs_unicode.c#L165-L187 technical-description
- https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5 patch
- VulnCheck Advisory: PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepoint third-party-advisory