
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
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.
Authorization: NTLM or Proxy-Authorization: NTLM header toward a target on the monitored network, ensuring Ettercap captures the packet.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).Authorization: NTLM <crafted_base64> header so that Ettercap's Parse_NTLM_Auth() processes it.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).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.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.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.
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.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."