CVE-2026-130849

BZFlag bzfs before 2.4.32 Heap Out-of-Bounds Write via NetHandler::tcpReceive()

Published Nov 17, 2026 CVSS 4.0 · 9.3 Critical EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade BZFlag bzfs to version 2.4.32 or later, which contains a patch for the heap out‑of‑bounds write.
  • If an upgrade cannot be performed immediately, restrict access to the bzfs service to trusted internal networks or firewall it from the public internet to limit exposure.
  • Run the bzfs process as an unprivileged user and employ privilege separation; this limits the impact if an attacker can execute code under the bzfs account.

Generated by OpenCVE AI on November 17, 2026 at 21:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title BZFlag bzfs before 2.4.32 Heap Out-of-Bounds Write via NetHandler::tcpReceive()
Weaknesses CWE-122
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Subscriptions

No data.

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 17, 2026, 7:47 PM
Reserved
Nov 17, 2026, 5:51 PM
Status
Received
Published
Nov 17, 2026, 8:17 PM
Modified
Nov 17, 2026, 8:17 PM