ClassiCube before 1.4.0 Heap Out-of-Bounds Write via Png_Decode Duplicate IHDR
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 19, 2026
- Updated
- Nov 20, 2026
- Reserved
- Nov 19, 2026
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.
| Product | Versions |
|---|---|
| ClassiCube ClassiCube | before 1.4.0 Affected1.4.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 8.8 High | VulnCheck |
Weaknesses
- CWE-787 Out-of-bounds Write
References
- Patch CommitPatch
- ClassiCube 1.4.0 Release NotesRelease Notes
- https://github.com/ClassiCube/ClassiCube/blob/1.3.9/src/Bitmap.c#L529Technical Details
- https://github.com/ClassiCube/ClassiCubeProduct Page
- VulnCheck Advisory: ClassiCube before 1.4.0 Heap Out-of-Bounds Write via Png_Decode Duplicate IHDRThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.