Technical impact
This vulnerability is a heap out‑of‑bounds write flaw in bzfs’s NetHandler::tcpReceive() routine. An attacker can send a specially crafted TCP packet whose body length equals 1024 bytes. By manipulating the length field, the receiving code writes a negative offset value that writes controlled data to an address before the heap buffer. The overwrite can corrupt critical heap data, potentially destabilizing the server or allowing the attacker to execute arbitrary code with the privileges of the bzfs user. The result is a loss of integrity and availability, and, in the worst case, remote execution of attacker‑supplied commands.
Affected Systems
The flaw affects the BZFlag project’s bzfs component in all releases before 2.4.32. Any system running bzfs 2.4.31 or earlier is vulnerable.
Risk and Exploitability
The vulnerability carries a CVSS score of 9.3, indicating a high‑severity risk. No EPSS data is available, and the flaw is not listed in CISA’s KEV catalog. Attackers can exploit it remotely without authentication by connecting to the bzfs server over TCP, making the vector both remote and unauthenticated. Successful exploitation can lead to a server crash or to arbitrary code execution as bzfs.