{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "3.8.19"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "cce285327f3ab4956a113f99b76e3d535072fbcf"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "ebef605216ed5656bfb094af9ae6d1f8dd9102d4"
            },
            {
              "fixed": "cce285327f3ab4956a113f99b76e3d535072fbcf"
            }
          ],
          "repo": "https://github.com/edbrowse/edbrowse",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-190"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138159.json"
  },
  "details": "edbrowse through 3.8.19 contains an integer overflow in stringAndBytes() that allows malicious servers to write past a heap buffer by sending response bodies larger than 2 GB. When a user browses to an attacker-controlled HTTP, FTP, or gopher server, the oversized body skips reallocation and corrupts the heap, causing crashes or potentially code execution.",
  "id": "CVE-2026-138159",
  "modified": "2026-11-28T03:45:40.702416664Z",
  "published": "2026-11-28T02:21:55.662Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138159.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/edbrowse/edbrowse"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/edbrowse/edbrowse/blob/v3.8.19/src/stringfile.c#L260-L280"
    },
    {
      "type": "FIX",
      "url": "https://github.com/edbrowse/edbrowse/commit/cce285327f3ab4956a113f99b76e3d535072fbcf"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138159"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/edbrowse-through-3.8.19-heap-buffer-overflow-via-stringandbytes-integer-overflow"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "edbrowse through 3.8.19 Heap Buffer Overflow via stringAndBytes() Integer Overflow"
}