{"id":"CVE-2024-58392","revision":"d244dc1c9f7a4deca5fd9bd7222f6af4","records":[{"revision":"d244dc1c9f7a4deca5fd9bd7222f6af4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-58392","aliases":[],"title":"PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepoint","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.","state":0,"publishedAt":"2026-10-14T14:16:29.553+00:00","modifiedAt":"2026-10-20T00:58:44.924+00:00","affected":[{"ecosystem":"https://github.com/icculus/physfs","name":"PhysicsFS","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"icculus\",\n                    \"product\": \"PhysicsFS\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"3.2.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"collectionURL\": \"https://github.com/icculus/physfs\",\n                    \"repo\": \"https://github.com/icculus/physfs\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":4.8,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":3.3,"severity":"LOW"}],"references":["https://github.com/icculus/physfs/issues/79","https://hackmd.io/@haind-pwn/physfs-utf8-decoder-overread","https://github.com/icculus/physfs/blob/release-3.2.0/src/physfs_unicode.c#L165-L187","https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5","https://www.vulncheck.com/advisories/physicsfs-through-3.2.0-out-of-bounds-read-via-physfs-utf8codepoint"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-58392","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-58392","identifiers":["CVE-2024-58392"]},"retained":false,"historicalAffected":[]}],"coverage":[]}