{"schemaVersion":4,"id":"CVE-2025-46712","aliases":["UBUNTU-CVE-2025-46712","DEBIAN-CVE-2025-46712","ALPINE-CVE-2025-46712"],"status":"published","duplicateOf":null,"title":"Erlang/OTP SSH Has Strict KEX Violations","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},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","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}]},"epss":{"probability":0.00563,"percentile":0.4827,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.019999999999999966,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00543},"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":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00563,"percentile":0.4827}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00563,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00563,"percentile":0.4827}]},"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":"alpine","product":"erlang","name":"erlang","label":"erlang","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/erlang","purlType":"apk","versions":[{"text":"< 26.2.5.12-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"26.2.5.12-r0","endInclusive":false}}],"versionsText":"< 26.2.5.12-r0","eol":null,"hubHref":null},{"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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:25.2.3+dfsg-1+deb12u2","endInclusive":false}},{"text":"< 1:27.3.4+dfsg-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:27.3.4+dfsg-1","endInclusive":false}}],"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,"bounds":{"kind":"all"}},{"text":"< 1:24.2.1+dfsg-1ubuntu0.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:24.2.1+dfsg-1ubuntu0.5","endInclusive":false}},{"text":"< 1:25.3.2.8+dfsg-1ubuntu4.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:25.3.2.8+dfsg-1ubuntu4.4","endInclusive":false}},{"text":"< 1:27.3.4.1+dfsg-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:27.3.4.1+dfsg-1","endInclusive":false}}],"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,"bounds":{"kind":"range","start":"OTP 27.0, < OTP 27.3.4","startInclusive":true,"end":null,"endInclusive":false}},{"text":"≥ OTP 26.2.1, < OTP 26.2.5.12","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"range","start":"OTP 26.2.1, < OTP 26.2.5.12","startInclusive":true,"end":null,"endInclusive":false}},{"text":"< OTP 25.3.2.21","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"OTP 25.3.2.21","endInclusive":false}}],"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":4,"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"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2025-46712","label":"security.alpinelinux.org/vuln/CVE-2025-46712","hostname":"security.alpinelinux.org","tags":["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}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,37],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00563,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-01-12T14:40:27.446Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2026-01-12T14:40:27.446Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-01-12T14:40:27.446Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-01-12T14:40:27.446Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_alpine","date":"2026-01-12T14:40:27.446Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-05-08T20:02:52.990Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00563,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:35:09.205Z","stale":false,"partial":false}}