A critical heap out-of-bounds write in the BZFlag game server (bzfs) before 2.4.32 lets remote, unauthenticated attackers crash the server or run commands as the bzfs user by sending one crafted TCP message.
What Is It
CVE-2026-130849 is a heap-based buffer overflow (CWE-122) in the NetHandler::tcpReceive() function of bzfs, the BZFlag server. An attacker can trigger it by sending a TCP message with a body length of exactly 1024. That overwrites the tcplen receive offset with a negative value, so the server then writes attacker-controlled bytes before the start of its receive buffer and corrupts heap memory.
VulnCheck disclosed the vulnerability, and NVD published it on 2026-11-17. NVD lists the record's status as "Received."
Why It Matters
VulnCheck scores this flaw 9.8 (CRITICAL) under CVSS 3.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and 9.3 (CRITICAL) under CVSS 4.0. The attack:
- works over the network
- needs no authentication or user interaction
- has low attack complexity
According to the advisory, a successful attack can crash the server (denial of service) or execute commands with the privileges of the bzfs user. Any bzfs instance reachable over the network is exposed.
The supplied CISA KEV data contains no entry for this CVE, so KEV does not confirm active exploitation at this time.
What's Vulnerable
- Vendor: BZFlag-Dev
- Product: bzflag (bzfs server component)
- Affected versions: all versions before 2.4.32
- Unaffected: 2.4.32 and later
The vulnerable code is in src/game/NetHandler.cxx, and the references point to the v2.4.30 source.
Patch Status
The fix is in BZFlag 2.4.32, and the upstream fix commit is listed in the references. Administrators running bzfs should upgrade to 2.4.32 or later. Until then, consider restricting network access to bzfs and running it under an account with minimal privileges, since successful exploitation runs code as the bzfs user.
CISA has issued no required action or due date, because the supplied KEV data has no entry for this CVE.