CVEvulnerability
CVE-2024-58392
4.8 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2026-10-14
- Last modified
- 2026-10-20
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVSS 3.1 ([email protected])
- 3.3 LOW — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
- Weaknesses
- 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.
Related
Weakness · CWE (1)
- CWE-125 Out-of-bounds Read weakness
References
- https://github.com/icculus/physfs/blob/release-3.2.0/src/physfs_unicode.c#L165-L187 github.com
- https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5 github.com
- https://github.com/icculus/physfs/issues/79 github.com
- https://hackmd.io/@haind-pwn/physfs-utf8-decoder-overread hackmd.io
- https://www.vulncheck.com/advisories/physicsfs-through-3.2.0-out-of-bounds-read-via-physfs-utf8codepoint www.vulncheck.com