Vulnerability DatabaseCVE-2026-125405

CVE-2026-125405: 
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2026-125405 is a heap out-of-bounds read vulnerability in Ettercap's HTTP dissector NTLM Type 3 message parser, located in Parse_NTLM_Auth() within src/dissectors/ec_http.c. It affects all Ettercap versions through 0.8.4.1 and was discovered by the DREAM Security Research Team (Adiel Sol, Arad Inbar, Erez Cohen, Nir Somech, Ben Grinberg, Daniel Lubel, Shir Sadon), reported against v0.8.4.1, and publicly disclosed on November 10, 2026. The vulnerability carries a CVSS v3.1 base score of 8.1 (High) and a CVSS v4.0 base score of 7.2 (High) (GitHub Advisory GHSA-jw9q-j2rm-94j2, Github Advisory).

Technical details

The root cause is an out-of-bounds read (CWE-125) in Parse_NTLM_Auth(): the function base64-decodes an NTLM Authorization header and casts the result to tSmbNtlmAuthResponse *, then uses the 32-bit lmResponse.offset, ntResponse.offset, and uUser.offset fields directly as pointer displacements from the decoded buffer base — with no validation against the actual decoded buffer length. This allows an attacker to direct reads to any address within a 4 GiB window above the heap allocation. Additionally, GetUnicodeString() uses the same unvalidated offset plus a length field to iterate up to 1023 times reading every other byte (~2046 bytes), and base64decode() discards its return value, meaning even the initial msgType read at offset 8 is out-of-bounds for any base64 blob shorter than 12 bytes. The leaked bytes are hex-encoded into po->DISSECTOR.pass and surfaced to the operator's console and log file (GitHub Advisory GHSA-jw9q-j2rm-94j2, Vulnerable Source).

Impact

An unauthenticated attacker on the adjacent network can trigger disclosure of heap memory contents — including other sessions' credentials, TLS material, and packet contents — by sending a crafted HTTP Authorization: NTLM or Proxy-Authorization: NTLM Type 3 message that Ettercap intercepts. If the attacker-controlled offset lands on an unmapped memory page, the Ettercap process crashes, causing a denial of service. There is no integrity impact, but the confidentiality and availability impacts are both rated High (GitHub Advisory GHSA-jw9q-j2rm-94j2, Github Advisory).

Exploitability

No public proof-of-concept exploit code is known, and there is no evidence of in-the-wild exploitation at this time (Github Advisory). The NVD SSVC assessment classifies exploitation as "none" and the attack as non-automatable, reflecting the adjacent-network requirement. The EPSS score is approximately 0.291% (22nd percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

Exploitation steps

  1. Position on the adjacent network: The attacker must be on the same network segment as a host being monitored by Ettercap (e.g., same LAN, VLAN, or Wi-Fi network), since Ettercap passively intercepts traffic via ARP poisoning or similar MitM techniques.
  2. Trigger Ettercap's HTTP dissector: Initiate or inject an HTTP request containing an Authorization: NTLM or Proxy-Authorization: NTLM header toward a target on the monitored network, ensuring Ettercap captures the packet.
  3. Craft a malicious NTLM Type 3 message: Construct a base64-encoded NTLM Type 3 (Authenticate) message where lmResponse.offset, ntResponse.offset, or uUser.offset fields contain attacker-chosen 32-bit values pointing far beyond the actual decoded buffer (e.g., set offset to a large value to read from adjacent heap memory).
  4. Deliver the crafted header: Send the HTTP request with the malicious Authorization: NTLM <crafted_base64> header so that Ettercap's Parse_NTLM_Auth() processes it.
  5. Observe memory disclosure or crash: Ettercap reads up to 24 bytes (or ~2046 bytes via GetUnicodeString) from the attacker-chosen heap address, hex-encodes the result, and prints it to the operator's console and log. If the offset maps to an unmapped page, Ettercap crashes. The attacker can observe the logged output if they have access to the Ettercap operator's environment, or use the crash as a denial-of-service (GitHub Advisory GHSA-jw9q-j2rm-94j2).

Indicators of compromise

  • Network: HTTP requests containing Authorization: NTLM or Proxy-Authorization: NTLM headers with unusually short or malformed base64-encoded payloads (fewer than 12 bytes decoded, or with anomalously large offset fields) observed on the monitored network segment.
  • Logs: Ettercap console or log output showing HTTP : ... USER: ... PASS: (NTLM) ...:"":"": entries with hex-encoded strings that appear to be random memory contents rather than valid NTLM hashes; repeated or garbled NTLM dissection log entries.
  • Process: Unexpected crash or segmentation fault of the Ettercap process, particularly when NTLM authentication traffic is present on the network; core dump files generated by the Ettercap process.

Mitigation and workarounds

Upgrade Ettercap to version 0.8.5.1, which includes the fix merged via pull request #1330 (commit 1d8badb) that validates decoded buffer length before use, rejects messages smaller than the struct being cast, and checks every offset+length pair against the decoded buffer bounds before dereferencing (Ettercap PR #1330, Fix Commit). As interim mitigations, restrict network access to Ettercap to trusted hosts only, and consider running Ettercap in a sandboxed or isolated environment to limit the impact of process crashes or memory disclosure.

Community reactions

The Ettercap maintainer (eaescob) acknowledged the DREAM Security Research Team's report as "massive" and rapidly released version 0.8.5.1 on the same day as the public disclosure, following a request from the NixOS/nixpkgs maintainer (Ettercap PR #1330). The NixOS community promptly tracked the fix via multiple linked nixpkgs issues and merged an update to 0.8.5.1 shortly after the release.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

ettercap

Affected

sid

ettercap

Affected

trixie

ettercap

Affected

Ubuntu

Unknown

bionic (esm-apps)

ettercap

Unknown

devel

ettercap

Unknown

focal (esm-apps)

ettercap

Unknown

jammy

ettercap

Unknown

jammy (esm-apps)

ettercap

Unknown

noble

ettercap

Unknown

noble (esm-apps)

ettercap

Unknown

resolute

ettercap

Unknown

Source: This report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-134844HIGH7.5
  • Linux Debian logoLinux Debian
  • libpgjava
NoNoNov 23, 2026
CVE-2026-134843HIGH7.5
  • Linux Debian logoLinux Debian
  • libpgjava
NoNoNov 23, 2026
CVE-2026-134845HIGH7.4
  • Linux Debian logoLinux Debian
  • libpgjava
NoNoNov 23, 2026
CVE-2026-134847MEDIUM6.5
  • Linux Debian logoLinux Debian
  • libpgjava
NoNoNov 23, 2026
CVE-2026-134846MEDIUM6.5
  • Linux Debian logoLinux Debian
  • libpgjava
NoNoNov 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management