Description
Ettercap through 0.8.4.1 contains an integer underflow in ccmp_decrypt() in src/ec_encryption_ccmp.c that subtracts the 8-byte CCMP trailer without checking minimum length. Attackers on a network whose WPA key is loaded can send a short crafted CCMP frame to overflow a stack buffer in the Ettercap process, which normally runs as root.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Ettercap | ettercap | ≤ 0.8.4.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | ettercap | No fix yet | — |
| Debian 12 | ettercap | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ettercap | No fix yet | — |
| Ubuntu 26.04 LTS | ettercap | No fix yet | — |
| Ubuntu 24.04 LTS | ettercap | No fix yet | — |
| Ubuntu 22.04 LTS | ettercap | No fix yet | — |
| Ubuntu 20.04 LTS | ettercap | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | ettercap | No fix yet | — |
| Ubuntu 16.04 LTS | ettercap | No fix yet | — |
References
- GitHub Security Advisory (GHSA-j37f-7jx3-rf8j) vendor-advisory
- https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98 patch
- https://github.com/Ettercap/ettercap/pull/1330 issue-tracking patch
- https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/ec_encryption_ccmp.c#L190-L203 technical-description
- VulnCheck Advisory: Ettercap through 0.8.4.1 Stack Buffer Overflow via WPA CCMP Decryption third-party-advisory