CVE catalog

CVE-2024-58392

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 seq

[CVE catalog]

Severity
Medium · CVSS 4.8CVSS: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
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.17% · Oct 22, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibphysfssid3.2.0-1vulnerable
Debianlibphysfsforky3.2.0-1vulnerable
Debianlibphysfstrixie3.0.2-6vulnerable
Debianlibphysfsbookworm3.0.2-6vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibphysfssourcesid(unfixed)unimportantNot reportedNot reported
Debianlibphysfssourceforky(unfixed)unimportantNot reportedNot reported
Debianlibphysfssourcetrixie(unfixed)unimportantNot reportedNot reported
Debianlibphysfssourcebookworm(unfixed)unimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libphysfs1]Affected

    Source package: [libphysfs]

    Details (2)
    • 3.0.2-6 · amd64 · bookworm

      Affected

      nvd · libphysfs · debian · bookworm; nvd · libphysfs · debian · 12

    • 3.0.2-6 · arm64 · bookworm

      Affected

      nvd · libphysfs · debian · bookworm; nvd · libphysfs · debian · 12

  • [libphysfs-dev]Affected

    Source package: [libphysfs]

    Details (2)
    • 3.0.2-6 · amd64 · bookworm

      Affected

      nvd · libphysfs · debian · bookworm; nvd · libphysfs · debian · 12

    • 3.0.2-6 · arm64 · bookworm

      Affected

      nvd · libphysfs · debian · bookworm; nvd · libphysfs · debian · 12

[Debian 13 (Trixie)]

  • [libphysfs1]Affected

    Source package: [libphysfs]

    Details (2)
    • 3.0.2-6+b2 · amd64 · trixie

      Affected

      nvd · libphysfs · debian · 13

    • 3.0.2-6+b2 · arm64 · trixie

      Affected

      nvd · libphysfs · debian · 13

  • [libphysfs-dev]Affected

    Source package: [libphysfs]

    Details (2)
    • 3.0.2-6+b2 · amd64 · trixie

      Affected

      nvd · libphysfs · debian · 13

    • 3.0.2-6+b2 · arm64 · trixie

      Affected

      nvd · libphysfs · debian · 13

Observed:

References