{"id":"CVE-2024-58392","aliases":["AZL-108312","DEBIAN-CVE-2024-58392","EUVD-2024-55799","GHSA-f7r8-2vph-g5gv","UBUNTU-CVE-2024-58392"],"status":"published","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.","severity":{"version":"4.0","score":4.8,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00168,"percentile":0.06227,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-125"],"published":"2026-10-14T14:16:29Z","modified":"2026-11-10T02:49:44Z","affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"physfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.0.2-4"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libphysfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.2-6","3.2.0-1"]},{"source":"osv","ecosystem":"Debian:13","package":"libphysfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.2-6","3.2.0-1"]},{"source":"osv","ecosystem":"Debian:14","package":"libphysfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.2-6","3.2.0-1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libphysfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.3-3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libphysfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.3-6","3.0.1-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libphysfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.2-3","3.0.2-4"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libphysfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.2-5"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libphysfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.2-6","3.0.2-6build1","3.0.2-6build2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libphysfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libphysfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.2-6build2","3.0.2-6build3","3.2.0-1"]}],"products":[{"vendor":"icculus","product":"physicsfs"}],"references":[{"url":"https://github.com/icculus/physfs/issues/79","tags":["issue-tracking","report"]},{"url":"https://hackmd.io/@haind-pwn/physfs-utf8-decoder-overread","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/icculus/physfs/blob/release-3.2.0/src/physfs_unicode.c#L165-L187","tags":["technical-description","article"]},{"url":"https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5","tags":["patch","fix","report"]},{"url":"https://www.vulncheck.com/advisories/physicsfs-through-3.2.0-out-of-bounds-read-via-physfs-utf8codepoint","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58392","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-f7r8-2vph-g5gv"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58392.json","tags":["advisory"]},{"url":"https://github.com/icculus/physfs","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-58392","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-58392","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-58392","tags":["report"]},{"url":"https://github.com/icculus/physfs/pull/80","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-58392","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.","status":"published","published":"2026-10-14T14:16:29.553Z","modified":"2026-10-20T00:58:44.924Z","cvss":[{"version":"4.0","score":4.8,"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","level":"medium","assessor":"cna"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low","assessor":"cna"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:34:08.843708Z"}],"euvd":[{"id":"EUVD-2024-55799","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.","status":"published","published":"2026-10-14T14:16:29Z","modified":"2026-10-20T00:58:44Z","cvss":[{"version":"4.0","score":4.8,"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","level":"medium"}],"updated_at":"2026-11-02T16:59:44.89597Z"}],"ghsa":[{"id":"GHSA-f7r8-2vph-g5gv","title":"PhysicsFS through 3.2.0 contains an out-of-bounds read vulnerability in __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.","status":"published","published":"2026-10-14T15:32:22Z","modified":"2026-10-14T15:32:28Z","cvss":[{"version":"4.0","score":4.8,"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/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","level":"medium"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:13:26.117603Z"}],"nvd":[{"id":"CVE-2024-58392","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.","status":"published","published":"2026-10-14T15:17:00.66Z","modified":"2026-11-09T10:10:00.217Z","cvss":[{"version":"4.0","score":4.8,"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/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","level":"medium","assessor":"secondary"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low","assessor":"secondary"}],"cwes":["CWE-125"],"updated_at":"2026-11-09T12:13:56.102415Z"}],"osv":[{"id":"CVE-2024-58392","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.","status":"published","published":"2026-10-14T14:16:29.553Z","modified":"2026-11-11T07:24:55.104734342Z","cvss":[{"version":"4.0","score":4.8,"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","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-11T03:22:28.447808Z"},{"id":"DEBIAN-CVE-2024-58392","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.","status":"published","published":"2026-10-14T15:17:00.66Z","modified":"2026-11-10T09:47:41.688333868Z","cvss":[{"version":"4.0","score":4.8,"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/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","level":"medium"}],"updated_at":"2026-11-10T10:26:30.347596Z"},{"id":"UBUNTU-CVE-2024-58392","description":"(PhysicsFS through 3.2.0 contains an out-of-bounds read vulnerability i ...)","status":"published","published":"2026-11-09T00:00:00Z","modified":"2026-11-10T02:49:44.494443054Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low"},{"version":"4.0","score":4.8,"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","level":"medium"}],"updated_at":"2026-11-10T03:18:17.421318Z"},{"id":"AZL-108312","title":"CVE-2024-58392 affecting package physfs 3.0.2-4","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.","status":"published","published":"2026-10-14T15:17:00Z","modified":"2026-11-05T05:36:30Z","updated_at":"2026-11-05T16:41:18.199293Z"}]}}
