CVE-2017-2784
An exploitable free of a stack pointer vulnerability exists in the x509 certificate parsing code...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.1
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.
- Record
CVE-2017-2784- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
EUVDEUVD-2017-11927
8.1
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.
- Record
EUVD-2017-11927- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5wj7-rhf5-hqx4
8.1
An exploitable free of a stack pointer vulnerability exists in the x509 certificate parsing code...
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.
- Record
GHSA-5wj7-rhf5-hqx4- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-295
- Updated
- 2026-11-02
NVD
8.1
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.
- Record
CVE-2017-2784- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-295
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-2784
8.1
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.
- Record
ALPINE-CVE-2017-2784- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
8.1
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.
- Record
CVE-2017-2784- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2017-2784
8.1
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.
- Record
DEBIAN-CVE-2017-2784- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-2784
8.1
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.
- Record
UBUNTU-CVE-2017-2784- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0094 No score
Updated mbedtls packages fix security vulnerability
In mbedTLS before 1.3.19, if a malicious peer supplies a certificate with a specially crafted secp224k1 public key, then an attacker can cause the server or client to attempt to free block of memory held on stack. Depending on the platform, this could result in a Denial of Service (client crash) or potentially could be exploited to allow remote code execution with the same privileges as the host application (CVE-2017-2784).
The mbedtls package has been updated to version 1.3.19, fixing this issue as well as other security issues and bugs.
- Record
MGASA-2017-0094- Updated
- 2026-11-02
OSVopenSUSE-SU-2017:0790-1 No score
Security update for mbedtls
This update to mbedtls 1.3.19 fixes security issues and bugs.
The following vulnerability was fixed:
CVE-2017-2784: A remote user could have used a specially crafted certificate to cause mbedtls to free a buffer allocated on the stack when verifying the validity of public key with a secp224k1 curve, which could have allowed remote code execution on some platforms (boo#1029017)
The following non-security changes are included:
- Add checks to prevent signature forgeries for very large messages while using RSA through the PK module in 64-bit systems.
- Fixed potential livelock during the parsing of a CRL in PEM format
- Record
openSUSE-SU-2017:0790-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2017:0792-1 No score
Security update for mbedtls
This update to mbedtls 1.3.19 fixes security issues and bugs.
The following vulnerability was fixed:
CVE-2017-2784: A remote user could have used a specially crafted certificate to cause mbedtls to free a buffer allocated on the stack when verifying the validity of public key with a secp224k1 curve, which could have allowed remote code execution on some platforms (boo#1029017)
The following non-security changes are included:
- Add checks to prevent signature forgeries for very large messages while using RSA through the PK module in 64-bit systems.
- Fixed potential livelock during the parsing of a CRL in PEM format
- Record
openSUSE-SU-2017:0792-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11043-1 No score
libmbedcrypto7-2.27.0-1.2 on GA media
These are all security issues fixed in the libmbedcrypto7-2.27.0-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11043-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:11119-1 No score
libeverest-3.6.6-1.1 on GA media
These are all security issues fixed in the libeverest-3.6.6-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:11119-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mbedtlsAlpine:v3.10 |
before 2.4.2-r0 | 2.4.2-r0 |
mbedtlsAlpine:v3.11 |
before 2.4.2-r0 | 2.4.2-r0 |
mbedtlsAlpine:v3.12 |
before 2.4.2-r0 | 2.4.2-r0 |
mbedtlsAlpine:v3.13 |
before 2.4.2-r0 | 2.4.2-r0 |
mbedtlsAlpine:v3.14 |
before 2.4.2-r0 | 2.4.2-r0 |
mbedtlsAlpine:v3.15 |
before 2.4.2-r0 | 2.4.2-r0 |
mbedtlsAlpine:v3.16 |
before 2.4.2-r0 | 2.4.2-r0 |
mbedtlsAlpine:v3.17 |
before 2.4.2-r0 | 2.4.2-r0 |
mbedtlsAlpine:v3.18 |
before 2.4.2-r0 | 2.4.2-r0 |
mbedtlsAlpine:v3.19 |
before 2.4.2-r0 | 2.4.2-r0 |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mbedtlsAlpine:v3.20 |
before 2.4.2-r0 | 2.4.2-r0 |
mbedtlsAlpine:v3.21 |
before 2.4.2-r0 | 2.4.2-r0 |
mbedtlsAlpine:v3.22 |
before 2.4.2-r0 | 2.4.2-r0 |
mbedtlsAlpine:v3.23 |
before 2.4.2-r0 | 2.4.2-r0 |
mbedtlsAlpine:v3.24 |
before 2.4.2-r0 | 2.4.2-r0 |
mbedtlsDebian:12 |
before 2.4.2-1 | 2.4.2-1 |
mbedtlsDebian:13 |
before 2.4.2-1 | 2.4.2-1 |
mbedtlsDebian:14 |
before 2.4.2-1 | 2.4.2-1 |
mbedtlsMageia:5 |
before 1.3.19-1.mga5 | 1.3.19-1.mga5 |
mbedtlsUbuntu:16.04:LTS |
before 2.2.1-2ubuntu0.1, plus listed versions 2.1.2-12.2.0-12.2.1-12.2.1-2 |
2.2.1-2ubuntu0.1 |
mbedtlsSUSE:Package Hub 12 |
before 1.3.19-5.1 | 1.3.19-5.1 |
mbedtls-2openSUSE:Tumbleweed From an advisory covering 5 CVEs |
before 2.27.0-1.2 | 2.27.0-1.2 |
mbedtls-3openSUSE:Tumbleweed From an advisory covering 14 CVEs |
before 3.6.6-1.1 | 3.6.6-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-2784 is a high vulnerability (CVSS 8.1) in Arm Mbed Tls, published March 22, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.39%, the 88th percentile. Fixed in mbedtls 2.4.2-r0.
References
security.gentoo.org/glsa/201706-18
talosintelligence.com/reports/TALOS-2017-0274
tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2017-01
nvd.nist.gov/vuln/detail/CVE-2017-2784
github.com/advisories/GHSA-5wj7-rhf5-hqx4
security.alpinelinux.org/vuln/CVE-2017-2784
Show 24 moreShow less
security-tracker.debian.org/tracker/CVE-2017-2784
advisories.mageia.org/MGASA-2017-0094.html
bugs.mageia.org/show_bug.cgi?id=20561
tls.mbed.org/tech-updates/releases/mbedtls-2.4.2-2.1.7-and-1.3.19-released
lists.opensuse.org/opensuse-updates/2017-03/msg00072.html
ubuntu.com/security/CVE-2017-2784
cve.org/CVERecord?id=CVE-2017-2784
lists.opensuse.org/archives/list/[email protected]/thread/WRIPVQ2ATMWAEIYYJETVM2L3IO7IWKFA
bugzilla.suse.com/1029017
suse.com/security/cve/CVE-2017-2784
lists.opensuse.org/archives/list/[email protected]/thread/FAMN75AB4YE4LABPQEYS2NAM6F32VCFZ
suse.com/security/cve/CVE-2017-14032
suse.com/security/cve/CVE-2018-0487
suse.com/security/cve/CVE-2018-0488
suse.com/security/cve/CVE-2018-19608
suse.com/security/cve/CVE-2014-8627
suse.com/security/cve/CVE-2014-8628
suse.com/security/cve/CVE-2015-1182
suse.com/security/cve/CVE-2015-5291
suse.com/security/cve/CVE-2015-7575
suse.com/security/cve/CVE-2021-24119
suse.com/security/cve/CVE-2021-45450
suse.com/security/cve/CVE-2022-35409
suse.com/security/cve/CVE-2022-46393