2026-11-28 2:21CVE-2026-138159VulnCheck
PUBLISHED5.2CWE-190

edbrowse through 3.8.19 Heap Buffer Overflow via stringAndBytes() Integer Overflow

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.

Problem type

Affected products

edbrowse

edbrowse

<= 3.8.19 - AFFECTED

References

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-138159
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-138159",
    "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
    "assignerShortName": "VulnCheck",
    "dateUpdated": "2026-11-28T02:21:55.662Z",
    "dateReserved": "2026-11-28T02:15:00.194Z",
    "datePublished": "2026-11-28T02:21:55.662Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "shortName": "VulnCheck",
        "dateUpdated": "2026-11-28T02:21:55.662Z"
      },
      "datePublic": "2026-10-28T00:00:00.000Z",
      "title": "edbrowse through 3.8.19 Heap Buffer Overflow via stringAndBytes() Integer Overflow",
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "affected": [
        {
          "vendor": "edbrowse",
          "product": "edbrowse",
          "repo": "https://github.com/edbrowse/edbrowse",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "3.8.19"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "Integer Overflow or Wraparound",
              "cweId": "CWE-190",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/edbrowse/edbrowse/commit/cce285327f3ab4956a113f99b76e3d535072fbcf",
          "tags": [
            "patch"
          ]
        },
        {
          "url": "https://github.com/edbrowse/edbrowse/blob/v3.8.19/src/stringfile.c#L260-L280",
          "tags": [
            "technical-description"
          ]
        },
        {
          "url": "https://github.com/edbrowse/edbrowse",
          "tags": [
            "product"
          ]
        },
        {
          "url": "https://www.vulncheck.com/advisories/edbrowse-through-3.8.19-heap-buffer-overflow-via-stringandbytes-integer-overflow",
          "name": "VulnCheck Advisory: edbrowse through 3.8.19 Heap Buffer Overflow via stringAndBytes() Integer Overflow",
          "tags": [
            "third-party-advisory"
          ]
        }
      ],
      "metrics": [
        {
          "format": "CVSS"
        },
        {
          "format": "CVSS",
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "attackVector": "NETWORK",
            "attackComplexity": "HIGH",
            "privilegesRequired": "NONE",
            "userInteraction": "REQUIRED",
            "scope": "UNCHANGED",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH"
          }
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Deus Rex",
          "type": "finder"
        }
      ]
    }
  }
}