{"schema_version":"1.7.5","id":"CVE-2017-2784","published":"2017-04-20T18:59:01.593Z","modified":"2026-07-08T12:41:58.084842Z","related":["openSUSE-SU-2017:0790-1","openSUSE-SU-2017:0792-1","openSUSE-SU-2024:11043-1","openSUSE-SU-2026:11119-1"],"details":"An exploitable free of a stack pointer vulnerability exists in the x509 certificate parsing code of ARM mbed TLS before 1.3.19, 2.x before 2.1.7, and 2.4.x before 2.4.2. A specially crafted x509 certificate, when parsed by mbed TLS library, can cause an invalid free of a stack pointer leading to a potential remote code execution. In order to exploit this vulnerability, an attacker can act as either a client or a server on a network to deliver malicious x509 certificates to vulnerable applications.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mbed-tls/mbedtls","events":[{"introduced":"0"},{"last_affected":"c1d54bb7b2a80d0f153fd92a13e1b901778f17d3"},{"introduced":"4cb87f409df0ddd878ea50cfca7dc8735ee574f2"},{"last_affected":"1a6a15c795922f05bd2ea17addf27eddcd256a15"}],"database_specific":{"cpe":["cpe:2.3:a:trustedfirmware:mbed_tls:*:*:*:*:*:*:*:*","cpe:2.3:a:trustedfirmware:mbed_tls:2.0.0:*:*:*:*:*:*:*","cpe:2.3:a:trustedfirmware:mbed_tls:2.1.0:*:*:*:*:*:*:*","cpe:2.3:a:trustedfirmware:mbed_tls:2.1.1:*:*:*:*:*:*:*","cpe:2.3:a:trustedfirmware:mbed_tls:2.1.2:*:*:*:*:*:*:*","cpe:2.3:a:trustedfirmware:mbed_tls:2.1.3:*:*:*:*:*:*:*","cpe:2.3:a:trustedfirmware:mbed_tls:2.1.4:*:*:*:*:*:*:*","cpe:2.3:a:trustedfirmware:mbed_tls:2.1.5:*:*:*:*:*:*:*","cpe:2.3:a:trustedfirmware:mbed_tls:2.1.6:*:*:*:*:*:*:*","cpe:2.3:a:trustedfirmware:mbed_tls:2.4.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"last_affected":"1.3.18"},{"introduced":"2.0.0"},{"last_affected":"2.0.0"},{"introduced":"2.1.0"},{"last_affected":"2.1.0"},{"introduced":"2.1.1"},{"last_affected":"2.1.1"},{"introduced":"2.1.2"},{"last_affected":"2.1.2"},{"introduced":"2.1.3"},{"last_affected":"2.1.3"},{"introduced":"2.1.4"},{"last_affected":"2.1.4"},{"introduced":"2.1.5"},{"last_affected":"2.1.5"},{"introduced":"2.1.6"},{"last_affected":"2.1.6"},{"introduced":"2.4.0"},{"last_affected":"2.4.0"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["2.0.0","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.4.0","mbedtls-1.3.18","mbedtls-2.4.0","mbedtls-1.3.17","mbedtls-2.2.1","yotta-2.3.1","mbedtls-2.3.0","mbedtls-1.3.16","mbedtls-1.3.15","mbedtls-2.2.0","mbedos-release-15-11","mbedos-techcon-oob2","mbedtls-2.1.2","mbedtls-1.3.14","mbedtls-2.1.0","mbedtls-1.3.13","mbedtls-2.1.1","beta-oob-2","mbedtls-1.3.12","mbedtls-2.0.0","mbedtls-1.3.11","list","polarssl-1.3.9","polarssl-1.3.8","polarssl-1.3.7","polarssl-1.3.6","polarssl-1.3.5","polarssl-1.3.4","polarssl-1.3.3","polarssl-1.3.2","polarssl-1.3.1","polarssl-1.3.0","polarssl-1.3.0-rc0","polarssl-1.2.6","polarssl-1.2.5","polarssl-1.2.4","polarssl-1.2.2","polarssl-1.2.1","polarssl-1.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-2784.json"}}],"references":[{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201706-18"},{"type":"ADVISORY","url":"https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2017-01"},{"type":"EVIDENCE","url":"http://www.talosintelligence.com/reports/TALOS-2017-0274/"}],"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}