{"id":"CVE-2024-58392","summary":"PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepoint","details":"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.","modified":"2026-10-15T02:46:02.409522475Z","published":"2026-10-14T14:16:29.553Z","database_specific":{"cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58392.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58392.json"},{"type":"PACKAGE","url":"https://github.com/icculus/physfs"},{"type":"ARTICLE","url":"https://github.com/icculus/physfs/blob/release-3.2.0/src/physfs_unicode.c#L165-L187"},{"type":"FIX","url":"https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5"},{"type":"REPORT","url":"https://github.com/icculus/physfs/issues/79"},{"type":"ADVISORY","url":"https://hackmd.io/@haind-pwn/physfs-utf8-decoder-overread"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58392"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/physicsfs-through-3.2.0-out-of-bounds-read-via-physfs-utf8codepoint"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/icculus/physfs","events":[{"introduced":"0"},{"last_affected":"eb3383b532c5f74bfeb42ec306ba2cf80eed988c"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"3.2.0"}],"source":"AFFECTED_FIELD"}}],"versions":["release-3.2.0","release-3.0.0","release-2.1.1","release-2.0.0","release-1.1.1","release-1.1.0","release-1.0.0","release-0.1.9","release-0.1.8","release-0.1.7","release-0.1.6","release-0.1.5","release-0.1.4","release-0.1.3","release-0.1.2","release-0.1.1","release-0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58392.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}