CVE-2024-58392
PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepoint
- State
- Published
- Severity
- 4.8 Medium
- Published
- Oct 14, 2026
- Updated
- Oct 20, 2026
- Reserved
- Oct 14, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 3.3 Low | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L | VulnCheck |
Weaknesses
- CWE-125 Out-of-bounds Read
Affected Products
| Product | Versions |
|---|---|
PhysicsFSicculus |
|
References
- https://github.com/icculus/physfs/issues/79issue-tracking
- https://hackmd.io/@haind-pwn/physfs-utf8-decoder-overreadthird-party-advisory
- https://github.com/icculus/physfs/blob/release-3.2.0/src/physfs_unicode.c#L165-L187technical-description
- https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5patch
- VulnCheck Advisory: PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepointthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.