What’s Vulnerable › Vulnerabilities
CVE-2024-58392: PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepoint
- Severity: low (CVSS 3.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-14 · updated 2026-10-20
- Weakness: CWE-125
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 products
- icculus PhysicsFS: through 3.2.0
References
- https://github.com/icculus/physfs/blob/release-3.2.0/src/physfs_unicode.c#L165-L187
- https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5
- https://github.com/icculus/physfs/issues/79
- https://hackmd.io/@haind-pwn/physfs-utf8-decoder-overread
- https://www.vulncheck.com/advisories/physicsfs-through-3.2.0-out-of-bounds-read-via-physfs-utf8codepoint
Get alerted when CVE-2024-58392 or the next vulnerability affects your stack