{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.2.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "eb3383b532c5f74bfeb42ec306ba2cf80eed988c"
            }
          ],
          "repo": "https://github.com/icculus/physfs",
          "type": "GIT"
        }
      ]
    }
  ],
  "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"
  },
  "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.",
  "id": "CVE-2024-58392",
  "modified": "2026-10-15T02:30:46.304598254Z",
  "published": "2026-10-14T14:16:29.553Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58392.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/icculus/physfs"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/icculus/physfs/blob/release-3.2.0/src/physfs_unicode.c#L165-L187"
    },
    {
      "type": "FIX",
      "url": "https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/icculus/physfs/issues/79"
    },
    {
      "type": "ADVISORY",
      "url": "https://hackmd.io/@haind-pwn/physfs-utf8-decoder-overread"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-58392"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/physicsfs-through-3.2.0-out-of-bounds-read-via-physfs-utf8codepoint"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "PhysicsFS through 3.2.0 Out-of-Bounds Read via __PHYSFS_utf8codepoint"
}