CVE-2024-58392 PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepoint
Attackers can cause application crashes or read sensitive memory by supplying crafted archives with specific UTF-8 sequences to applications using PhysicsFS.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-58392?
CVE-2024-58392 is a medium-severity memory corruption vulnerability in icculus PhysicsFS, published on 14 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
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.
Weakness: CWE-125
Which versions are affected by CVE-2024-58392?
How do I fix CVE-2024-58392?
No fix has been published for CVE-2024-58392 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-58392 being exploited?
There is no known exploitation of CVE-2024-58392 in the wild and no public exploit code.
Sources
Also known as AZL-108312, DEBIAN-CVE-2024-58392, GHSA-f7r8-2vph-g5gv.