{"id":"UBUNTU-CVE-2017-2784","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.","modified":"2025-09-08T16:44:03Z","published":"2017-04-20T18:59:00Z","upstream":["CVE-2017-2784"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-2784"},{"type":"REPORT","url":"https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2017-01"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-2784"}],"affected":[{"package":{"name":"mbedtls","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mbedtls@2.2.1-2ubuntu0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1-2ubuntu0.1"}]}],"versions":["2.1.2-1","2.2.0-1","2.2.1-1","2.2.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2.1-2ubuntu0.1","binary_name":"libmbedcrypto0"},{"binary_version":"2.2.1-2ubuntu0.1","binary_name":"libmbedtls-dev"},{"binary_version":"2.2.1-2ubuntu0.1","binary_name":"libmbedtls10"},{"binary_version":"2.2.1-2ubuntu0.1","binary_name":"libmbedx509-0"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-2784.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}