{"id":"CVE-2026-130849","summary":"BZFlag bzfs before 2.4.32 Heap Out-of-Bounds Write via NetHandler::tcpReceive()","details":"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.","modified":"2026-11-18T01:05:04.887896196Z","published":"2026-11-17T19:47:42.563Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130849.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-122"]},"references":[{"type":"PACKAGE","url":"https://github.com/BZFlag-Dev/bzflag"},{"type":"ARTICLE","url":"https://github.com/BZFlag-Dev/bzflag/blob/v2.4.30/src/game/NetHandler.cxx#L575-L640"},{"type":"FIX","url":"https://github.com/BZFlag-Dev/bzflag/commit/8e501d685aef549090b363260979a4eb93484ea1"},{"type":"ADVISORY","url":"https://github.com/BZFlag-Dev/bzflag/releases/tag/v2.4.32"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130849.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130849"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/bzflag-bzfs-before-2.4.32-heap-out-of-bounds-write-via-nethandler-tcpreceive"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bzflag-dev/bzflag","events":[{"introduced":"0"},{"fixed":"f11f05485d7406c78159aac00ace3c58b4b17ec2"},{"fixed":"8e501d685aef549090b363260979a4eb93484ea1"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"2.4.32"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"8e501d685aef549090b363260979a4eb93484ea1"}]},{"source":"REFERENCES_TAG","original_tag":"v2.4.32","range":[{"fixed":"f11f05485d7406c78159aac00ace3c58b4b17ec2"}]}]}}],"versions":["v2.4.30","v2.4.28","v2.4.26","v2.4.24","v2.4.22","v2.4.20","v2.4.18","v2.4.16","v2.4.14","v2.4.12","v2.4.10","v2.4.8","v2.4.6","v2.4.6-RC2","v2.4.6-RC1","v2.4.4","v2.4.4-RC3","v2.4.4-RC2","v2.4.4-RC1","v2.4.2","v2.4.0","v2.0.12","v2.0.4","v2.0.0","v1.10.2","v1.10.0","v1.7g2","v1.7e6","v1.7e4","v1.7e2","v1.7e1","v1.7e_0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130849.json","vanir_signatures":[{"digest":{"line_hashes":["138200047948105932871474823931671585215","148293571968023173439098145075071435992","226659439784472288520977884703917307627","181568401956337828198183225084299590503","298730967154966827211224380665336808829","231277835475265019414662664209937749928","243044208584530418729819159132700508078"],"threshold":0.9},"id":"CVE-2026-130849-21fbeaf0","signature_type":"Line","signature_version":"v1","source":"https://github.com/bzflag-dev/bzflag/commit/8e501d685aef549090b363260979a4eb93484ea1","target":{"file":"src/game/NetHandler.cxx"},"deprecated":false},{"id":"CVE-2026-130849-c3b0a3b1","signature_type":"Function","signature_version":"v1","source":"https://github.com/bzflag-dev/bzflag/commit/8e501d685aef549090b363260979a4eb93484ea1","target":{"function":"NetHandler::receive","file":"src/game/NetHandler.cxx"},"deprecated":false,"digest":{"length":655,"function_hash":"302654867790985826479779311515627387651"}},{"source":"https://github.com/bzflag-dev/bzflag/commit/8e501d685aef549090b363260979a4eb93484ea1","target":{"file":"src/game/NetHandler.cxx","function":"NetHandler::tcpReceive"},"deprecated":false,"digest":{"function_hash":"38165099519900021969483975001477690730","length":826},"id":"CVE-2026-130849-cd1813a4","signature_type":"Function","signature_version":"v1"},{"id":"CVE-2026-130849-eb983124","signature_type":"Line","signature_version":"v1","source":"https://github.com/bzflag-dev/bzflag/commit/f11f05485d7406c78159aac00ace3c58b4b17ec2","target":{"file":"src/date/buildDate.cxx"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["197216515613380691740854352956760496199","8622169336951925047001653833003273168","33967421226994862465833303427087336808","136213240804653406571538633200538488011","149992523759780661862096432883604170164","163548134232806255435847349776246966562","107549913113133383920054250833592240265"]}}],"vanir_signatures_modified":"2026-11-18T01:05:04Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}