CVE-2024-58392
published medium CVSS 4.0 · 4.8PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepoint
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| icculus | — | PhysicsFS0 through 3.2.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.3 | low | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| icculus | PhysicsFS | 0 through 3.2.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-125 Out-of-bounds Read
References
5- https://github.com/icculus/physfs/blob/release-3.2.0/src/physfs_unicode.c#L165-L187
- https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5
- https://github.com/icculus/physfs/issues/79
- https://hackmd.io/@haind-pwn/physfs-utf8-decoder-overread
- VulnCheck Advisory: PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepoint https://www.vulncheck.com/advisories/physicsfs-through-3.2.0-out-of-bounds-read-via-physfs-utf8codepoint
Provider assertions
2VulnCheck · cna
PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepoint
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7ce39efca950d8a7752a521125f0d4a443a3e99614df34fe384d0f3e4d0f2573
- Ingested
- 20 Oct 2026, 01:08:29 UTC
- Source record
- Official CVE record