Skip to content

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

MediumCVSS 4.8 EPSS 0.17%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 1 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
debian/libphysfs(Debian 12) = 3.0.2-6; = 3.2.0-1; All versions No fix listed No fix yet
debian/libphysfs(Debian 13) = 3.0.2-6; = 3.2.0-1; All versions No fix listed No fix yet
debian/libphysfs(Debian 14) = 3.0.2-6; = 3.2.0-1; All versions No fix listed No fix yet
ubuntu/libphysfs(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libphysfs(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/libphysfs(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/libphysfs(Ubuntu 26.10) All versions No fix listed No fix yet
icculus PhysicsFS <= 3.2.0 after 3.2.0 Fixed

Affected products

ProductAffected versionsFixed in
debian/libphysfs(Debian:12) All versions No fix listed
debian/libphysfs(Debian:12) = 3.0.2-6 No fix listed
debian/libphysfs(Debian:12) = 3.2.0-1 No fix listed
debian/libphysfs(Debian:13) All versions No fix listed
debian/libphysfs(Debian:13) = 3.0.2-6 No fix listed
debian/libphysfs(Debian:13) = 3.2.0-1 No fix listed
debian/libphysfs(Debian:14) All versions No fix listed
debian/libphysfs(Debian:14) = 3.0.2-6 No fix listed
debian/libphysfs(Debian:14) = 3.2.0-1 No fix listed
icculus PhysicsFS <= 3.2.0 No fix listed
ubuntu/libphysfs(Ubuntu:22.04) All versions No fix listed
ubuntu/libphysfs(Ubuntu:24.04) All versions No fix listed
ubuntu/libphysfs(Ubuntu:26.04) All versions No fix listed
ubuntu/libphysfs(Ubuntu:26.10) All versions No fix listed

References