CVE-2026-138159: 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.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users running edbrowse through version 3.8.19 are exposed when they browse to an attacker-controlled HTTP, FTP, or gopher server.
What must an attacker do to trigger the overflow?
The attacker needs to serve a response body larger than 2 GB. Exploitation also requires the user to browse to the attacker-controlled server.
What is the potential impact?
The oversized response can bypass reallocation and write past a heap buffer, corrupting the heap. This can cause a crash or potentially allow code execution.