{"schemaVersion":3,"id":"CVE-2025-49601","aliases":["ALPINE-CVE-2025-49601","UBUNTU-CVE-2025-49601","DEBIAN-CVE-2025-49601"],"status":"published","duplicateOf":null,"title":null,"description":"In MbedTLS 3.3.0 before 3.6.4, mbedtls_lms_import_public_key does not check that the input buffer is at least 4 bytes before reading a 32-bit field, allowing a possible out-of-bounds read on truncated input. Specifically, an out-of-bounds read in mbedtls_lms_import_public_key allows context-dependent attackers to trigger a crash or limited adjacent-memory disclosure by supplying a truncated LMS (Leighton-Micali Signature) public-key buffer under four bytes. An LMS public key starts with a 4-byte type indicator. The function mbedtls_lms_import_public_key reads this type indicator before validating the size of its input.","dates":{"published":"2025-07-04T00:00:00.000Z","modified":"2025-07-08T14:36:18.797Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00322,"percentile":0.23779,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.04800000000000004,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00274},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00322,"percentile":0.23779}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00322,"percentile":0.23779}]},"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-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"alpine","product":"mbedtls","name":"mbedtls","label":"mbedtls","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/mbedtls","purlType":"apk","versions":[{"text":"< 3.6.4-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.6.4-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"mbedtls","name":"mbedtls","label":"mbedtls","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/mbedtls","purlType":"deb","versions":[{"text":"< 3.6.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.6.4-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mbedtls","name":"mbedtls","label":"mbedtls","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mbedtls","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mbed","product":"mbedtls","name":"mbedtls","label":"mbedtls","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.3.0, < 3.6.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.3.0, < 3.6.4","eol":null,"hubHref":"/vendor/mbed/mbedtls"},{"vendor":"trustedfirmware","product":"mbed_tls","name":"mbed tls","label":"mbed_tls","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.3.0, < 3.6.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.3.0, < 3.6.4","eol":null,"hubHref":"/vendor/trustedfirmware/mbed_tls"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/Mbed-TLS/mbedtls-docs/blob/main/security-advisories/mbedtls-security-advisory-2025-06-4.md","label":"github.com/Mbed-TLS/…","hostname":"github.com","tags":["REPORT","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2025-49601","label":"security.alpinelinux.org/vuln/CVE-2025-49601","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-49601","label":"ubuntu.com/security/CVE-2025-49601","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-49601","label":"www.cve.org/CVERecord?id=CVE-2025-49601","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-49601","label":"security-tracker.debian.org/tracker/CVE-2025-49601","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21144-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21144-1"]},"timeline":[{"kind":"published","date":"2025-07-04T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-07-08T14:36:18.797Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T22:51:00.778Z","stale":false,"partial":false}}