CVE-2024-58392
JSON

4.8medium

PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepoint

Severity
4.8medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
icculus PhysicsFSup to 3.2.0CVE List

All scores

VulnCheck4.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
VulnCheck3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

PhysicsFS hasta la versión 3.2.0 incluida contiene una vulnerabilidad de lectura fuera de límites en __PHYSFS_utf8codepoint() que permite a los atacantes leer más allá de los buffers de nombres mediante un desplazamiento del cursor de un paso en secuencias UTF?8 de seis octetos. Los atacantes pueden proporcionar un archivo comprimido manipulado con nombres de entradas que terminen en secuencias de seis octetos, lo que hace que PHYSFS_utf8stricmp() y el proceso de hash lean más allá y provoquen el bloqueo de la aplicación.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-58392 changed 2026-10-20CVE Terms of Use
NVDCVE-2024-58392 changed 2026-11-09Public domain