CVE-2024-58392

Source
https://cve.org/CVERecord?id=CVE-2024-58392
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58392.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-58392
Downstream
Published
2026-10-14T14:16:29Z
Modified
2026-10-28T10:42:19Z
Severity
  • 4.8 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepoint
Details

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.

Database specific
{
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58392.json"
}
References

Affected packages

Git / github.com/icculus/physfs

Affected ranges

Type
GIT
Repo
https://github.com/icculus/physfs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "last_affected": "3.2.0"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "fixed": "8a90802778f14dea9c086fb5436839181a3222d5"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

release-0.*
release-0.1.0
release-0.1.1
release-0.1.2
release-0.1.3
release-0.1.4
release-0.1.5
release-0.1.6
release-0.1.7
release-0.1.8
release-0.1.9
release-1.*
release-1.0.0
release-1.1.0
release-1.1.1
release-2.*
release-2.0.0
release-2.1.1
release-3.*
release-3.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58392.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "36196871780644088927694131094039481907",
            "length": 3079
        },
        "id": "CVE-2024-58392-04d5c21a",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5",
        "target": {
            "file": "src/physfs_unicode.c",
            "function": "__PHYSFS_utf8codepoint"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "317341792890663624214055123560035168381",
                "295104197999302597309334277364702867190",
                "293267586560935000552387283672702112503",
                "320595132434079548311669658145819372447"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2024-58392-498619e1",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5",
        "target": {
            "file": "src/physfs_unicode.c"
        }
    }
]
vanir_signatures_modified
"2026-10-28T10:42:19Z"