Skip to main content

edbrowse CVE-2026-138159

| EUVDEUVD-2026-137554 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-11-28 VulnCheck GHSA-3x93-mq8m-pp9j
7.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure victim to malicious HTTP/FTP/gopher server
  2. Delivery
    Server returns response body larger than 2 GB
  3. Exploit
    Integer overflow in stringAndBytes() skips heap realloc
  4. Execution
    memcpy writes past heap buffer
  5. Impact
    Crash or potential code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two concrete conditions drawn from the description: (1) the victim must actively browse with edbrowse (≤3.8.19) to an attacker-controlled HTTP, FTP, or gopher server (UI:P), and (2) that server must return a response body larger than 2 GB (exceeding INT_MAX bytes) so that the oldlen+cnt computation in stringAndBytes() overflows the signed int and bypasses reallocation. Limiting factors that reduce realistic risk: the mandatory user interaction (the victim must initiate the connection), the need to transfer over 2 GB of data to the client (bandwidth/time cost and easily noticeable), and the high attack complexity (AC:H/AT:P) of grooming the heap for anything beyond a crash. It affects edbrowse client builds up to and including 3.8.19; no non-default configuration setting is required beyond normal browsing.

Impact

This is a moderate-priority client-side memory-corruption issue, not a drop-everything emergency. The CVSS 4.0 base score is 7.7 (High), but the vector itself tempers that: AV:N is offset by AC:H (high attack complexity), AT:P (a specific attack requirement - the server must deliver an over-2 GB body), and UI:P (the victim must actively browse to the attacker's server). So although PR:N makes it unauthenticated, exploitation is not trivially remote or wormable - it requires luring a victim and transferring more than 2 GB of data. The decision signals are mixed-to-moderate: vuln.today priority is 'this_week' (not act_now/emergency), it is NOT in CISA KEV, and no EPSS score was provided in the input, so widespread automated exploitation cannot be inferred from the data. No working public exploit is identified; the references are the patch commit, affected source lines, and the VulnCheck advisory, not verified exploit code. The 'RCE' tag and the description's 'potentially code execution' should be read cautiously - the confirmed impact is heap corruption and crashes (DoS), with code execution presented as a possibility, not a demonstrated outcome. Net: patch within the vendor/priority window, but the combination of niche product footprint, required user interaction, and the 2 GB transfer prerequisite makes this far lower real-world risk than the raw 7.7 suggests.

Exploit ScenarioDerived

An attacker stands up a malicious HTTP, FTP, or gopher server and entices an edbrowse user (version ≤3.8.19) to browse to it. The server streams a response body larger than 2 GB, which overflows the signed-int length arithmetic in stringAndBytes(), skipping the heap reallocation and causing a memcpy to write past the allocated buffer - corrupting the heap to crash the client or, potentially, achieve code execution. No verified working exploit was found in the provided sources; only the patch commit, affected source lines, and the VulnCheck advisory are referenced.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 28, 2026

Heap buffer overflow in edbrowse through version 3.8.19 lets an attacker-controlled HTTP, FTP, or gopher server corrupt client memory by returning a response body larger than 2 GB. A signed-integer overflow in stringAndBytes() (length bookkeeping kept in int) causes the growth/reallocation test to be skipped, after which the oversized body is copied past the end of the heap buffer, producing crashes and potentially code execution. The victim must actively browse to the malicious server (UI:P) and the server must actually deliver more than 2 GB of data, so exploitation is high-complexity and noisy rather than opportunistic; no public exploit code has been identified at time of analysis, the issue is not in CISA KEV, and an upstream fix commit is available from the vendor.

RemediationAI

Apply the upstream fix commit cce285327f3ab4956a113f99b76e3d535072fbcf (https://github.com/edbrowse/edbrowse/commit/cce285327f3ab4956a113f99b76e3d535072fbcf), which adds an INT_MAX bounds check using long long arithmetic before the reallocation decision in stringAndString()/stringAndBytes(); the vendor lists the patch as available, but a tagged release version containing it is not confirmed in the supplied data, so build from the fixed commit or wait for the next edbrowse release after 3.8.19. Review the advisory at https://www.vulncheck.com/advisories/edbrowse-through-3.8.19-heap-buffer-overflow-via-stringandbytes-integer-overflow for vendor guidance. Because the trigger is mandatory user interaction plus a multi-gigabyte download from an untrusted server, interim exposure reduction centers on restricting which HTTP/FTP/gopher endpoints are browsed with edbrowse (for example via proxy allow-lists or disabling gopher/FTP handlers), which leaves users unable to reach legitimate untrusted sites until the patch is in place; the available sources describe no configuration setting in edbrowse that directly blocks oversized bodies.

Affected VersionsENISA

edbrowse 0 ≤3.8.19

Affected Packages

euvd edbrowse no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

edbrowse is a line-oriented web/file browser written in C that keeps dynamically grown strings in src/stringfile.c. stringAndBytes() and stringAndString() stored current and requested lengths in signed int variables (oldlen, newlen, *l), used a XOR-based heuristic (x = oldlen ^ newlen; if (x > oldlen) realloc) to decide whether the buffer needed to grow, and then appended with memcpy and a terminating NUL. With body content exceeding INT_MAX (~2 GB), oldlen + cnt wraps to a small or negative value, the growth test no longer reflects the true required size, reallocString() is not called, and memcpy(p + oldlen, t, cnt) writes beyond the allocation. This is CWE-190 integer overflow feeding a heap out-of-bounds write (the fix site corresponds to src/stringfile.c around lines 260-280). The upstream patch promotes the arithmetic to long long and exits via i_printfExit(MSG_ErrorRealloc, ...) when oldlen + cnt + 1 would exceed INT_MAX, and adds a consistency check in stringAndString(). The vulnerability lives in the client; no server-side edbrowse component is involved, and the affected CPE is cpe:2.3:a:edbrowse:edbrowse:* covering all builds up to and including 3.8.19.

Know when Edbrowse gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.7 HIGH
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
vuln.today AI 7.5 HIGH

Remote malicious server (AV:N, PR:N) but victim must browse to it (UI:R) and must deliver a >2 GB body to trigger the overflow, a non-trivial requirement (AC:H); heap corruption yields crashes with potential code execution (C/I/A:H).

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A heap buffer overflow in the edbrowse text-based web browser (through version 3.8.19) can be triggered when a user browses to a malicious server that returns an oversized response body, potentially leading to memory corruption and code execution. While exploitation requires user interaction and delivery of over 2 GB of data, the availability of a fix means the risk is manageable with prompt patching. Leadership should ensure affected users update edbrowse to the latest fixed version to protect against this high-severity vulnerability.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 65% exploitable
Prevalence
Rare
niche command-line editor/browser, negligible enterprise or production footprint
Social Media
4
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

Debian

edbrowse
Release Status Fixed Version Urgency
bookworm vulnerable 3.7.7-5 -
trixie vulnerable 3.8.12-1 -
forky, sid vulnerable 3.8.18-1 -
(unstable) fixed (unfixed) -

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy