{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "2.4.32"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "8e501d685aef549090b363260979a4eb93484ea1"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v2.4.32",
                "range": [
                  {
                    "fixed": "f11f05485d7406c78159aac00ace3c58b4b17ec2"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f11f05485d7406c78159aac00ace3c58b4b17ec2"
            },
            {
              "fixed": "8e501d685aef549090b363260979a4eb93484ea1"
            }
          ],
          "repo": "https://github.com/bzflag-dev/bzflag",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130849.json"
  },
  "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.",
  "id": "CVE-2026-130849",
  "modified": "2026-11-17T21:46:01.705343610Z",
  "published": "2026-11-17T19:47:42.563Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "BZFlag bzfs before 2.4.32 Heap Out-of-Bounds Write via NetHandler::tcpReceive()"
}