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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-125"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58392.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "3.2.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "8a90802778f14dea9c086fb5436839181a3222d5"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58392.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "36196871780644088927694131094039481907",
"length": 3079
},
"id": "CVE-2024-58392-04d5c21a",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5",
"target": {
"file": "src/physfs_unicode.c",
"function": "__PHYSFS_utf8codepoint"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"317341792890663624214055123560035168381",
"295104197999302597309334277364702867190",
"293267586560935000552387283672702112503",
"320595132434079548311669658145819372447"
],
"threshold": 0.9
},
"id": "CVE-2024-58392-498619e1",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5",
"target": {
"file": "src/physfs_unicode.c"
}
}
]
"2026-10-28T10:42:19Z"