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.
Published: 2026-10-14
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: Out-of-bounds read causing application crash and potential denial of service
Action: Patch Immediately
AI Analysis

Impact

PhysicsFS versions up to 3.2.0 contain an out‑of‑bounds read bug in the __PHYSFS_utf8codepoint helper. The defect allows an attacker to supply archive entries whose names end with a six‑octet UTF‑8 sequence, causing an off‑by‑one cursor advance and an over‑read that can crash the code that compares or hashes the file name. The result is a denial‑of‑service through an application crash; while the read occurs outside the intended buffer, the vulnerability does not convey code execution or direct memory disclosure within the information supplied.

Affected Systems

The issue affects any install of icculus:PhysicsFS version 3.2.0 or earlier. No specific patch versions are listed; users should assume all releases prior to any future update that resolves the bug are vulnerable.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate severity. EPSS is not available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting that it is not known to be actively exploited. The most likely attack vector involves a local attacker supplying a crafted archive to a program that uses PhysicsFS, or a remote attacker who can influence the archive contents that the application later processes. The exploit is straightforward once the vulnerable functions are triggered, and the impact is a crash and loss of service. The risk is moderate, but patching remains the recommended response.

Generated by OpenCVE AI on October 15, 2026 at 02:59 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest PhysicsFS release that incorporates a fix for the __PHYSFS_utf8codepoint scope of the over‑read. Consult the vendor’s changelog for the patched version.
  • If an upgrade is not immediately possible, sanitize archive entry names to avoid six‑octet UTF‑8 sequences before they reach PhysicsFS – for example, reject names longer than a safe threshold or enforce strict UTF‑8 validation. This mitigates the over‑read without code changes to PhysicsFS itself.
  • Alternatively, adjust application configuration to skip or bypass the PHYSFS_utf8stricmp and hashing operations on untrusted archives, or isolate the file handling in a sandboxed process that can recover gracefully from a crash.

Generated by OpenCVE AI on October 15, 2026 at 02:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 14 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
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.
Title PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepoint
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 4.8, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-14T14:16:29.553Z

Reserved: 2026-10-14T13:07:16.579Z

Link: CVE-2024-58392

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-14T15:17:00.660

Modified: 2026-10-14T15:17:00.660

Link: CVE-2024-58392

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-15T03:00:14Z

Weaknesses