CVE-2026-130849
BZFlag bzfs before 2.4.32 contains a heap out-of-bounds write …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/BZFlag-Dev/bzflag/blob/v2.4.30/src/game/NetHandler.cxx#L575-L640
- github.com/BZFlag-Dev/bzflag/commit/8e501d685aef549090b363260979a4eb93484ea1
- github.com/BZFlag-Dev/bzflag/releases/tag/v2.4.32
- www.vulncheck.com/advisories/bzflag-bzfs-before-2.4.32-heap-out-of-bounds-write-via-nethan
- nvd.nist.gov/vuln/detail/CVE-2026-130849
- cve.org/CVERecord?id=CVE-2026-130849
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.