CVE-2026-130849
BZFlag bzfs before 2.4.32 Heap Out-of-Bounds Write via NetHandler::tcpReceive()
Critical · 9.3Fix available
- CVSS
- 9.3
- EPSS
- 0.61% (p51)
- Published
- 2026-11-17
- Age
- 19d old
- Modified
- 2026-11-24
- Product
- BZFlag-Dev bzflag
- Aliases
- EUVD-2026-127253
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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.
Fixed in
2.4.32
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | bzflag | >=0, <2.4.32 | 2.4.32 |
Sources
- NVD · first seen 19d ago · NVD terms of use
- OSV · first seen 19d ago · CC-BY 4.0
- ENISA EUVD · first seen 19d ago · ENISA
- CVE List · first seen 19d ago · CVE Terms of Use
References
- https://github.com/BZFlag-Dev/bzflag/commit/8e501d685aef549090b363260979a4eb93484ea1 patch
- https://github.com/BZFlag-Dev/bzflag/releases/tag/v2.4.32 release-notes
- https://github.com/BZFlag-Dev/bzflag/blob/v2.4.30/src/game/NetHandler.cxx#L575-L640 technical-description
- https://www.vulncheck.com/advisories/bzflag-bzfs-before-2.4.32-heap-out-of-bounds-write-via-nethandler-tcpreceive third-party-advisory
- https://github.com/BZFlag-Dev/bzflag package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130849.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-130849 advisory