All advisories

Security advisoryCVE-2026-133308

ClassiCube before 1.4.0 Heap Out-of-Bounds Write via PNG Decoder Filters

Published:

Severity
Medium5.3
Vulnerability type
Out-of-bounds Write (CWE-787)
Fixed in
ClassiCube 1.4.0
Credit
Discovered by Deus Rex Research
Published

CVSS 4.0 vector5.3 Medium

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

CVSS 3.1 vector5.4 Medium

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

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 versions

ClassiCube< 1.4.0

Remediation

Fixed in ClassiCube 1.4.0. View the upstream fix (opens in a new tab)

References

Advisories may be reused freely, without charge or registration.

To report a vulnerability in Deus Rex, contact disclosure@cyrex.tech.