{"id":"CVE-2017-18187","aliases":["ALPINE-CVE-2017-18187","DEBIAN-CVE-2017-18187","DSA-4138-1","DSA-4147-1","EUVD-2017-9322","GHSA-3g9w-ghrc-hc72","UBUNTU-CVE-2017-18187","USN-4267-1","openSUSE-SU-2018:0488-1","openSUSE-SU-2018:0491-1"],"status":"published","title":"In ARM mbed TLS before 2.7.0, there is a bounds-check bypass through an integer overflow in PSK...","description":"In ARM mbed TLS before 2.7.0, there is a bounds-check bypass through an integer overflow in PSK identity parsing in the ssl_parse_client_psk_identity() function in library/ssl_srv.c.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03115,"percentile":0.87899,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2018-02-14T17:00:00Z","modified":"2026-10-20T13:21:17Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"mbedtls","fixed_in":["2.7.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"mbedtls","fixed_in":["2.7.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"mbedtls","fixed_in":["2.7.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"mbedtls","fixed_in":["2.7.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"mbedtls","fixed_in":["2.7.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"mbedtls","fixed_in":["2.7.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"mbedtls","fixed_in":["2.7.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"mbedtls","fixed_in":["2.7.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"mbedtls","fixed_in":["2.7.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"mbedtls","fixed_in":["2.7.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"mbedtls","fixed_in":["2.7.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"mbedtls","fixed_in":["2.7.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"mbedtls","fixed_in":["2.7.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"mbedtls","fixed_in":["2.7.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"mbedtls","fixed_in":["2.7.0-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"mbedtls","fixed_in":["2.7.0-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mbedtls","fixed_in":["2.7.0-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mbedtls","fixed_in":["2.7.0-2"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"mbedtls","fixed_in":["2.2.1-2ubuntu0.3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-2"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.2-1+deb9u2"}]}],"versions":["2.4.2-1","2.4.2-1+deb9u1","2.4.2-1+deb9u1~bpo8+1"],"bundled":3},{"source":"osv","ecosystem":"Debian:8","package":"polarssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.9-2.1+deb8u3"}]}],"versions":["1.3.9-2.1","1.3.9-2.1+deb8u1","1.3.9-2.1+deb8u2"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1-2ubuntu0.3"}]}],"versions":["2.1.2-1","2.2.0-1","2.2.1-1","2.2.1-2","2.2.1-2ubuntu0.1","2.2.1-2ubuntu0.2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1-2ubuntu0.3"}]}],"versions":["2.1.2-1","2.2.0-1","2.2.1-1","2.2.1-2","2.2.1-2ubuntu0.1","2.2.1-2ubuntu0.2"],"bundled":5},{"source":"osv","ecosystem":"SUSE:Package Hub 12","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.19-11.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Package Hub 12","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.19-11.1"}]}],"bundled":3}],"products":[{"vendor":"arm","product":"mbed_tls"},{"vendor":"debian","product":"debian_linux"}],"references":[{"url":"https://github.com/ARMmbed/mbedtls/commit/83c9f495ffe70c7dd280b41fdfd4881485a3bc28","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://www.debian.org/security/2018/dsa-4147","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.debian.org/security/2018/dsa-4138","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://security.gentoo.org/glsa/201804-19","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/ARMmbed/mbedtls/blob/master/ChangeLog","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","report"]},{"url":"http://www.securityfocus.com/bid/103055","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://usn.ubuntu.com/4267-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18187"},{"url":"https://github.com/advisories/GHSA-3g9w-ghrc-hc72"},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-18187","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-18187","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-18187","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4267-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-18187","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-0487","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-0488","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-0497","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-0498","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1080826","tags":["report"]},{"url":"https://bugzilla.suse.com/1080828","tags":["report"]},{"url":"https://bugzilla.suse.com/1080973","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-18187","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-0487","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-0488","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-18187","description":"In ARM mbed TLS before 2.7.0, there is a bounds-check bypass through an integer overflow in PSK identity parsing in the ssl_parse_client_psk_identity() function in library/ssl_srv.c.","status":"published","published":"2018-02-14T17:00:00Z","modified":"2024-08-05T21:13:49.1Z","updated_at":"2026-11-02T14:33:21.747294Z"}],"euvd":[{"id":"EUVD-2017-9322","description":"In ARM mbed TLS before 2.7.0, there is a bounds-check bypass through an integer overflow in PSK identity parsing in the ssl_parse_client_psk_identity() function in library/ssl_srv.c.","status":"published","published":"2018-02-14T17:00:00Z","modified":"2024-08-05T21:13:49Z","updated_at":"2026-11-03T02:23:07.6199Z"}],"ghsa":[{"id":"GHSA-3g9w-ghrc-hc72","title":"In ARM mbed TLS before 2.7.0, there is a bounds-check bypass through an integer overflow in PSK...","description":"In ARM mbed TLS before 2.7.0, there is a bounds-check bypass through an integer overflow in PSK identity parsing in the ssl_parse_client_psk_identity() function in library/ssl_srv.c.","status":"published","published":"2022-05-13T01:28:30Z","modified":"2023-02-01T05:07:40Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:50:35.110336Z"}],"nvd":[{"id":"CVE-2017-18187","description":"In ARM mbed TLS before 2.7.0, there is a bounds-check bypass through an integer overflow in PSK identity parsing in the ssl_parse_client_psk_identity() function in library/ssl_srv.c.","status":"published","published":"2018-02-14T17:29:00.237Z","modified":"2026-06-17T01:12:21.23Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:04:15.877386Z"}],"osv":[{"id":"ALPINE-CVE-2017-18187","description":"In ARM mbed TLS before 2.7.0, there is a bounds-check bypass through an integer overflow in PSK identity parsing in the ssl_parse_client_psk_identity() function in library/ssl_srv.c.","status":"published","published":"2018-02-14T17:29:00.237Z","modified":"2026-06-15T18:18:06.790255851Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:27:46.716249Z"},{"id":"CVE-2017-18187","description":"In ARM mbed TLS before 2.7.0, there is a bounds-check bypass through an integer overflow in PSK identity parsing in the ssl_parse_client_psk_identity() function in library/ssl_srv.c.","status":"published","published":"2018-02-14T17:29:00.237Z","modified":"2026-10-20T13:21:17.071927151Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:05.486486Z"},{"id":"DEBIAN-CVE-2017-18187","description":"In ARM mbed TLS before 2.7.0, there is a bounds-check bypass through an integer overflow in PSK identity parsing in the ssl_parse_client_psk_identity() function in library/ssl_srv.c.","status":"published","published":"2018-02-14T17:29:00.237Z","modified":"2026-09-01T20:03:46.938695528Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:29.100767Z"},{"id":"UBUNTU-CVE-2017-18187","description":"In ARM mbed TLS before 2.7.0, there is a bounds-check bypass through an integer overflow in PSK identity parsing in the ssl_parse_client_psk_identity() function in library/ssl_srv.c.","status":"published","published":"2018-02-14T17:29:00Z","modified":"2026-04-22T11:20:46.902976Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:14.977781Z"},{"id":"DSA-4138-1","title":"mbedtls - security update","status":"published","published":"2018-03-15T00:00:00Z","modified":"2026-03-09T01:20:37.886765Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"DSA-4147-1","title":"polarssl - security update","status":"published","published":"2018-03-21T00:00:00Z","modified":"2026-03-09T01:18:45.641739Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"openSUSE-SU-2018:0488-1","title":"Security update for mbedtls","description":"This update for mbedtls fixes the following issues:\n\n- CVE-2018-0487: Fixed a buffer overflow in RSASSA-PSS signature\n  verification, which allowed remote attackers to execute arbitrary code or\n  cause a denial of service via a crafted certificate chain. (boo#1080826)\n- CVE-2018-0488: Fixed a heap vulnerability, which allowed remote\n  attackers to execute arbitrary code or cause a DoS via a crafted application\n  packet when the truncated HMAC extension and CBC are used. (boo#1080828)\n- CVE-2017-18187: Fixed bound check in ssl_parse_client_psk_identity(), which\n  might lead to an overflow. (boo#1080973)\n","status":"published","published":"2018-02-20T12:28:29Z","modified":"2026-02-04T04:23:37.525507Z","updated_at":"2026-11-02T16:58:30.39372Z"},{"id":"openSUSE-SU-2018:0491-1","title":"Security update for mbedtls","description":"This update for mbedtls fixes the following issues:\n\n- CVE-2018-0487: Fixed a buffer overflow in RSASSA-PSS signature\n  verification, which allowed remote attackers to execute arbitrary code or\n  cause a denial of service via a crafted certificate chain. (boo#1080826)\n- CVE-2018-0488: Fixed a heap vulnerability, which allowed remote\n  attackers to execute arbitrary code or cause a DoS via a crafted application\n  packet when the truncated HMAC extension and CBC are used. (boo#1080828)\n- CVE-2017-18187: Fixed bound check in ssl_parse_client_psk_identity(), which\n  might lead to an overflow. (boo#1080973)\n","status":"published","published":"2018-02-20T12:28:29Z","modified":"2025-05-07T18:09:40.06094Z","updated_at":"2026-11-02T16:58:30.39372Z"},{"id":"USN-4267-1","title":"mbedtls vulnerabilities","description":"It was discovered that mbedtls has a bounds-check bypass through an integer\noverflow that can be used by an attacked to execute arbitrary code or cause a\ndenial of service.\n(CVE-2017-18187)\n\nIt was discovered that mbedtls has a vulnerability where an attacker could\nexecute arbitrary code or cause a denial of service (buffer overflow)\nvia a crafted certificate chain that is mishandled during RSASSA-PSS\nsignature verification within a TLS or DTLS session.\n(CVE-2018-0487)\n\nIt was discovered that mbedtls has a vulnerability where an attacker could\nexecute arbitrary code or cause a denial of service (heap corruption) via a\ncrafted application packet within a TLS or DTLS session.\n(CVE-2018-0488)\n\nIt was discovered that mbedtls has a vulnerability that allows remote\nattackers to achieve partial plaintext recovery (for a CBC based ciphersuite)\nvia a timing-based side-channel attack.\n(CVE-2018-0497)\n\nIt was discovered that mbedtls has a vulnerability that allows local users to\nachieve partial plaintext recovery (for a CBC based ciphersuite) via a\ncache-based side-channel attack.\n(CVE-2018-0498)\n","status":"published","published":"2020-02-05T12:12:16Z","modified":"2026-04-27T15:48:42.654286426Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
