CVE-2026-133307
ClassiCube before 1.4.0 Heap Out-of-Bounds Write via Png_Decode Duplicate IHDR
High · 8.7Fix available
- CVSS
- 8.7
- EPSS
- 0.52% (p46)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-20
- Product
- ClassiCube ClassiCube
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
ClassiCube before 1.4.0 contains a heap-based out-of-bounds write vulnerability in Png_Decode in src/Bitmap.c that allows malicious servers to corrupt client memory by sending a PNG with a duplicate IHDR chunk. Attackers can supply crafted PNGs via texture pack URLs or player skins so the unreset bufferIdx underflows remaining space, letting IDAT data overflow the buffer to crash clients or execute code.
Fixed in
1.4.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | ClassiCube | >=0, <1.4.0 | 1.4.0 |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 15d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://github.com/ClassiCube/ClassiCube/commit/c461fa759f218e3c6bda4642b9af79a98dc84a43 patch
- https://github.com/ClassiCube/ClassiCube/releases/tag/1.4.0 release-notes
- https://github.com/ClassiCube/ClassiCube/blob/1.3.9/src/Bitmap.c#L529 technical-description
- https://github.com/ClassiCube/ClassiCube product
- https://www.vulncheck.com/advisories/classicube-before-1.4.0-heap-out-of-bounds-write-via-png-decode-duplicate-ihdr third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133307.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-133307 advisory