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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
ClassiCube ClassiCube
Default version status: unaffected
0 to < 1.4.0affected1.4.0unaffected
References
- https://github.com/ClassiCube/ClassiCube/commit/c461fa759f218e3c6bda4642b9af79a98dc84a43 ↗
- https://github.com/ClassiCube/ClassiCube/releases/tag/1.4.0 ↗
- https://github.com/ClassiCube/ClassiCube/blob/1.3.9/src/Bitmap.c#L529 ↗
- https://github.com/ClassiCube/ClassiCube ↗
- https://www.vulncheck.com/advisories/classicube-before-1.4.0-heap-out-of-bounds-write-via-png-decode-duplicate-ihdr ↗