{"schemaVersion":3,"id":"CVE-2025-46712","aliases":["UBUNTU-CVE-2025-46712","DEBIAN-CVE-2025-46712"],"status":"published","duplicateOf":null,"title":null,"description":"Erlang/OTP is a set of libraries for the Erlang programming language. In versions prior to OTP-27.3.4 (for OTP-27), OTP-26.2.5.12 (for OTP-26), and OTP-25.3.2.21 (for OTP-25), Erlang/OTP SSH fails to enforce strict KEX handshake hardening measures by allowing optional messages to be exchanged. This allows a Man-in-the-Middle attacker to inject these messages in a connection during the handshake. This issue has been patched in versions OTP-27.3.4 (for OTP-27), OTP-26.2.5.12 (for OTP-26), and OTP-25.3.2.21 (for OTP-25).","dates":{"published":"2025-05-08T19:26:27.563Z","modified":"2026-01-12T14:40:27.446Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.7,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00543,"percentile":0.44393,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.023000000000000017,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.0052},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00525,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00525,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00525,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00525,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00543,"percentile":0.44393}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00543,"percentile":0.44393}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-440","name":"Expected Behavior Violation","description":"A feature, API, or function does not perform according to its specification.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/440.html"}],"affected":[{"vendor":"debian","product":"erlang","name":"erlang","label":"erlang","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/erlang","purlType":"deb","versions":[{"text":"< 1:25.2.3+dfsg-1+deb12u2","noFixRecorded":false,"fixedIn":null},{"text":"< 1:27.3.4+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:25.2.3+dfsg-1+deb12u2 | < 1:27.3.4+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"erlang","name":"erlang","label":"erlang","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/erlang","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1:24.2.1+dfsg-1ubuntu0.5","noFixRecorded":false,"fixedIn":null},{"text":"< 1:25.3.2.8+dfsg-1ubuntu4.4","noFixRecorded":false,"fixedIn":null},{"text":"< 1:27.3.4.1+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1:24.2.1+dfsg-1ubuntu0.5 | < 1:25.3.2.8+dfsg-1ubuntu4.4 | < 1:27.3.4.1+dfsg-1","eol":null,"hubHref":null},{"vendor":"erlang","product":"otp","name":"OTP","label":"otp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ OTP 27.0, < OTP 27.3.4","noFixRecorded":true,"fixedIn":null},{"text":"≥ OTP 26.2.1, < OTP 26.2.5.12","noFixRecorded":true,"fixedIn":null},{"text":"< OTP 25.3.2.21","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ OTP 27.0, < OTP 27.3.4 (No fix recorded) | ≥ OTP 26.2.1, < OTP 26.2.5.12 (No fix recorded) | < OTP 25.3.2.21","eol":null,"hubHref":"/vendor/erlang/otp"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-934x-xq38-hhqf","label":"github.com/erlang/otp/security/advisories/GHSA-934x-xq38-hhqf","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT"]},{"url":"https://github.com/erlang/otp/commit/e4b56a9f4a511aa9990dd86c16c61439c828df83","label":"github.com/erlang/otp/commit/e4b56a9f4a511aa9990dd86c16c61439c828df83","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/erlang/otp/releases/tag/OTP-25.3.2.21","label":"github.com/erlang/otp/releases/tag/OTP-25.3.2.21","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://github.com/erlang/otp/releases/tag/OTP-26.2.5.12","label":"github.com/erlang/otp/releases/tag/OTP-26.2.5.12","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://github.com/erlang/otp/releases/tag/OTP-27.3.4","label":"github.com/erlang/otp/releases/tag/OTP-27.3.4","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2025-46712","label":"ubuntu.com/security/CVE-2025-46712","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-46712","label":"www.cve.org/CVERecord?id=CVE-2025-46712","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7656-1","label":"ubuntu.com/security/notices/USN-7656-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-46712","label":"security-tracker.debian.org/tracker/CVE-2025-46712","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46712","label":"nvd.nist.gov/vuln/detail/CVE-2025-46712","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-7656-1"],"duplicates":[],"related":["USN-7656-1"]},"timeline":[{"kind":"published","date":"2025-05-08T19:26:27.563Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-01-12T14:40:27.446Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":15,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T04:55:07.884Z","stale":false,"partial":false}}