{"id":"CVE-2026-125404","summary":"Ettercap before 0.8.5.1 Stack Buffer Overflow via WPA CCMP Decryption","details":"Ettercap before 0.8.5.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.","aliases":["GHSA-j37f-7jx3-rf8j"],"modified":"2026-11-21T20:45:36.896457928Z","published":"2026-11-09T23:28:05.658Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125404.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-191"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125404.json"},{"type":"ADVISORY","url":"https://github.com/Ettercap/ettercap/security/advisories/GHSA-j37f-7jx3-rf8j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125404"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-stack-buffer-overflow-via-wpa-ccmp-decryption"},{"type":"FIX","url":"https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98"},{"type":"FIX","url":"https://github.com/Ettercap/ettercap/pull/1330"},{"type":"PACKAGE","url":"https://github.com/Ettercap/ettercap"},{"type":"ARTICLE","url":"https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/ec_encryption_ccmp.c#L190-L203"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ettercap/ettercap","events":[{"introduced":"0"},{"fixed":"832524f3c4c215f1007fe9f190dbf052ee965b55"},{"fixed":"1d8badb713579419a29a494bb463a1af59707e98"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"0.8.5.1"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"1d8badb713579419a29a494bb463a1af59707e98"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v0.8.4.1","v0.8.4","v0.8.3.1","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.6","v0.7.5.3","v0.7.5.2","v0.7.5.1","v0.7.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125404.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}