BZFlag bzfs before 2.4.32 Heap Out-of-Bounds Write via NetHandler::tcpReceive()
- State
- Published
- Severity
- 9.3 Critical
- Published
- Nov 17, 2026
- Updated
- Nov 19, 2026
- Reserved
- Nov 17, 2026
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.
| Product | Versions |
|---|---|
| bzflag BZFlag-Dev | before 2.4.32 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | VulnCheck | |
| 3.1 | 9.8 Critical | VulnCheck |
Weaknesses
- CWE-122 Heap-based Buffer Overflow
References
- https://github.com/BZFlag-Dev/bzflag/commit/8e501d685aef549090b363260979a4eb93484ea1Patch
- bzflag v2.4.32 Release NotesRelease Notes
- https://github.com/BZFlag-Dev/bzflag/blob/v2.4.30/src/game/NetHandler.cxx#L575-L640Technical Details
- VulnCheck Advisory: BZFlag bzfs before 2.4.32 Heap Out-of-Bounds Write via NetHandler::tcpReceive()Third-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.