CVE-2026-130849: BZFlag bzfs before 2.4.32 Heap Out-of-Bounds Write via NetHandler::tcpReceive()
Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-17
Description
BZFlag bzfs before 2.4.32 contains a heap out-of-bounds write vulnerability in NetHandler::tcpReceive() that allows remote unauthenticated attackers to corrupt heap memory by sending a TCP message with a body length of exactly 1024. Attackers can overwrite the tcplen receive offset with a negative value to write controlled bytes before the buffer, crashing the server or executing commands as the bzfs user.
Enclave's analysis
BZFlag's game server bzfs has a heap out-of-bounds write in its TCP receive code. A remote, unauthenticated attacker sends one message with a body length of exactly 1024. A crash is easy to trigger. Code execution is claimed by the CNA but nobody has shown it. No public exploit turned up, and it's not in KEV. Update to 2.4.32 or later.
Fix
Upgrade bzflag to 2.4.32; BZFlag-Dev bzflag (bzfs) to 2.4.32.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| bzflag | 0 before 2.4.32 | 2.4.32 |
| BZFlag-Dev bzflag (bzfs) | >=0 and <2.4.32 | 2.4.32 |