CVE-2026-138159
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 l…
Impact
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.
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products (Edbrowse)
| Product | Affected versions |
|---|---|
| Edbrowse | through 3.8.19 Version 0 ≤3.8.19 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/edbrowse/edbrowse/commit/cce285327f3ab4956a113f99b76e3d535072fbcf
- https://github.com/edbrowse/edbrowse/blob/v3.8.19/src/stringfile.c#L260-L280
- https://github.com/edbrowse/edbrowse
- https://www.vulncheck.com/advisories/edbrowse-through-3.8.19-heap-buffer-overflow-via-stringandbytes-integer-overflow
- https://github.com/advisories/GHSA-3x93-mq8m-pp9j
- https://nvd.nist.gov/vuln/detail/CVE-2026-138159