{"id":"CVE-2026-131854","summary":"Ettercap through 0.8.5.1 Heap Out-of-Bounds Read via MySQL Dissector","details":"Ettercap through 0.8.5.1 contains a heap out-of-bounds read vulnerability in dissector_mysql() in src/dissectors/ec_mysql.c that copies seed and password bytes without bounds checks. A malicious MySQL server or client can send truncated greeting or login packets to leak adjacent heap memory through hex-encoded output in the interface and log.","aliases":["GHSA-r2hv-j478-3cfg"],"modified":"2026-11-19T01:03:09.825394170Z","published":"2026-11-17T23:42:26.829Z","database_specific":{"cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131854.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131854.json"},{"type":"ADVISORY","url":"https://github.com/Ettercap/ettercap/security/advisories/GHSA-r2hv-j478-3cfg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-131854"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/ettercap-through-0.8.5.1-heap-out-of-bounds-read-via-mysql-dissector"},{"type":"FIX","url":"https://github.com/Ettercap/ettercap/commit/56101d9ebae0179a53fea6778759ed60c970dbed"},{"type":"PACKAGE","url":"https://github.com/Ettercap/ettercap"},{"type":"ARTICLE","url":"https://github.com/Ettercap/ettercap/blob/v0.8.5.1/src/dissectors/ec_mysql.c#L131-L163"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ettercap/ettercap","events":[{"introduced":"0"},{"fixed":"56101d9ebae0179a53fea6778759ed60c970dbed"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"0.8.5.1"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"56101d9ebae0179a53fea6778759ed60c970dbed"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v0.8.5.1","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-131854.json","vanir_signatures":[{"source":"https://github.com/ettercap/ettercap/commit/56101d9ebae0179a53fea6778759ed60c970dbed","target":{"file":"src/dissectors/ec_mysql.c","function":"FUNC_DECODER"},"deprecated":false,"digest":{"length":3830,"function_hash":"136409481907959585747100881840641675383"},"id":"CVE-2026-131854-a67e5e2c","signature_type":"Function","signature_version":"v1"},{"target":{"file":"src/dissectors/ec_mysql.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["83588700231328196884425466327827986744","122424998460617675743604861815920257251","248425907196575821365766500041817667048","59619927069856864993126604290867308227","232270158949210978367935187971768302591","2418872951900476257686897356057531092","224985797021508634388603172477971996090","98454448331303281531363436503514233117","292746479738809403371727316334643979202","24919730735388604545631881868279738509","300324844251792115418195353756745390056","222481749899894426585691501322443878458","303815918575633000895865356492018729273","269999319698529634720376744534495105350","41930236091591427961091362339170141623","339249270727287183437171848986837133206","2151851278819574400118777021142208377","164617735365922755589522676423605601696","172739011495979052283253661798460038754"]},"id":"CVE-2026-131854-f064d9a1","signature_type":"Line","signature_version":"v1","source":"https://github.com/ettercap/ettercap/commit/56101d9ebae0179a53fea6778759ed60c970dbed"}],"vanir_signatures_modified":"2026-11-19T01:03:09Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}