#1152517 libphysfs: CVE-2024-58392

Package:
src:libphysfs
Source:
src:libphysfs
Submitter:
Salvatore Bonaccorso
Date:
2026-11-09 17:37:20 UTC
Severity:
normal
Tags:
#1152517#5
Date:
2026-10-30 05:04:15 UTC
From:
To:
Hi,

The following vulnerability was published for libphysfs.

CVE-2024-58392[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2024-58392
https://www.cve.org/CVERecord?id=CVE-2024-58392
[1] https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5
[2] https://github.com/icculus/physfs/issues/79
[3] https://github.com/icculus/physfs/pull/80

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

#1152517#10
Date:
2026-10-30 15:56:14 UTC
From:
To:
Hello Ryan,

could you help here? For me it is not clear if this is the final patch
for this issue:
https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5.patch

It applies to 3.0.2 and 3.2.0. Will there be an new release in the next
weeks?

Regards,
Patrick

Am 30.10.2026 um 06:04 schrieb Salvatore Bonaccorso: