CVE-2026-130849
BZFlag bzfs before 2.4.32 contains a heap out-of-bounds write vulnerability in NetHandler::tcpReceive() that allows remote unauthenticated attackers to corrupt…
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products · BZFlag-Dev
| Product | Affected versions |
|---|---|
| Bzflag | before 2.4.32 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/BZFlag-Dev/bzflag/commit/8e501d685aef549090b363260979a4eb93484ea1
- https://github.com/BZFlag-Dev/bzflag/releases/tag/v2.4.32
- https://github.com/BZFlag-Dev/bzflag/blob/v2.4.30/src/game/NetHandler.cxx#L575-L640
- https://www.vulncheck.com/advisories/bzflag-bzfs-before-2.4.32-heap-out-of-bounds-write-via-nethandler-tcpreceive
- https://github.com/advisories/GHSA-9q5f-g948-c95m
- https://nvd.nist.gov/vuln/detail/CVE-2026-130849