# CVE-2024-58392: PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepoint

- Severity: Medium 4.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-10-14T14:16:29.553Z
- Modified: 2026-11-09T10:10:00.217Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- icculus PhysicsFS: up to 3.2.0

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`

## References

- <https://github.com/icculus/physfs/issues/79> (issue-tracking)
- <https://hackmd.io/@haind-pwn/physfs-utf8-decoder-overread> (third-party-advisory)
- <https://github.com/icculus/physfs/blob/release-3.2.0/src/physfs_unicode.c#L165-L187> (technical-description)
- <https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5> (patch)
- <https://www.vulncheck.com/advisories/physicsfs-through-3.2.0-out-of-bounds-read-via-physfs-utf8codepoint> (third-party-advisory)

## Sources

- CVE List: [CVE-2024-58392](https://www.cve.org/CVERecord?id=CVE-2024-58392), CVE Terms of Use, modified 2026-10-20
- NVD: [CVE-2024-58392](https://nvd.nist.gov/vuln/detail/CVE-2024-58392), Public domain, modified 2026-11-09

---

Page: https://cve.day/CVE-2024-58392 · Whole record: https://cve.day/CVE-2024-58392.json · Rebuilt by cve.day 2026-11-25T22:58:53.079Z
