CVE-2024-58392
lowPhysicsFS 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-…
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/icculus/physfs/blob/release-3.2.0/src/physfs_unicode.c#L165-L187 disclosure@vulncheck.com
- https://github.com/icculus/physfs/commit/8a90802778f14dea9c086fb5436839181a3222d5 disclosure@vulncheck.com
- https://github.com/icculus/physfs/issues/79 disclosure@vulncheck.com
- https://hackmd.io/@haind-pwn/physfs-utf8-decoder-overread disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/physicsfs-through-3.2.0-out-of-bounds-read-via-physfs... disclosure@vulncheck.com
