Description
ClassiCube before 1.4.0 contains a heap-based out-of-bounds write vulnerability in Png_Reconstruct in src/Bitmap.c that occurs when AVERAGE and PAETH filters process zero-width PNG images. A malicious multiplayer server can supply a crafted texture pack URL or player skin to write past the heap buffer, corrupting memory and crashing connecting clients.
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#L172 ↗
- https://github.com/ClassiCube/ClassiCube/blob/1.3.9/src/Bitmap.c#L182 ↗
- https://github.com/ClassiCube/ClassiCube ↗
- https://www.vulncheck.com/advisories/classicube-before-1.4.0-heap-out-of-bounds-write-via-png-decoder-filters ↗