libphysfs — security advisory
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.
- Products
- libphysfs
- Affected versions
- 3.0.2-6, 3.2.0-1
- Fixed versions
- Not specified
- CVEs
- CVE-2024-58392
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 01:16 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2024-58392
libphysfs
Fixed versions: Not specified
libphysfs
Fixed versions: Not specified
libphysfs
Fixed versions: Not specified
Complete source record
{
"id": "bbe56f455220086fba149df8ceee66d6cd65d1a1add3dcbde9c45ead6d32a9d3",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2024-58392",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2024-58392",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2024-58392",
"products": [
{
"name": {
"value": "libphysfs",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.2-6",
"evidence": "/affected/0/versions"
},
{
"value": "3.2.0-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libphysfs",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.2-6",
"evidence": "/affected/1/versions"
},
{
"value": "3.2.0-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "libphysfs",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.2-6",
"evidence": "/affected/2/versions"
},
{
"value": "3.2.0-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2024-58392",
"aliases": [
"DEBIAN-CVE-2024-58392"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libphysfs",
"purl": "pkg:deb/debian/libphysfs?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"3.0.2-6",
"3.2.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-58392.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libphysfs",
"purl": "pkg:deb/debian/libphysfs?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"3.0.2-6",
"3.2.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-58392.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libphysfs",
"purl": "pkg:deb/debian/libphysfs?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"3.0.2-6",
"3.2.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-58392.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
}
],
"modified": "2026-10-23T18:04:33.029658327Z",
"provider": "osv",
"upstream": [
"CVE-2024-58392"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2024-58392"
]
},
"related_cves": [
{
"value": "CVE-2024-58392",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 423565,
"published_at": "2026-10-14T15:17:00.66+00:00"
}