CVE-2024-58392
PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepoint
icculus PhysicsFS
CVSS
4.8MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.17%Chance of exploitation activity in the next 30 days, higher than 5% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
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.
Text from CVE List
Affected versions 1
- PhysicsFSaffected: all versions through 3.2.0CVE List
References 5
- github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5Fixvia CVE List
- hackmd.io/@haind-pwn/physfs-utf8-decoder-overreadAdvisoryvia CVE List
- vulncheck.com/advisories/physicsfs-through-3.2.0-out-of-bounds-read-via-physfs-utf8codepointAdvisoryvia CVE List
- github.com/icculus/physfs/issues/79Referencevia CVE List
- github.com/icculus/physfs/blob/release-3.2.0/src/physfs_unicode.c#L165-L187Referencevia CVE List