Every CVE Search/ Get API key

CVE-2017-2784

An exploitable free of a stack pointer vulnerability exists in the x509 certificate parsing code...

8.1 HighFix available

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

3.39%Up 1.6 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
mbedtls
Alpine:v3.10
before 2.4.2-r0
2.4.2-r0
mbedtls
Alpine:v3.11
before 2.4.2-r0
2.4.2-r0
mbedtls
Alpine:v3.12
before 2.4.2-r0
2.4.2-r0
mbedtls
Alpine:v3.13
before 2.4.2-r0
2.4.2-r0
mbedtls
Alpine:v3.14
before 2.4.2-r0
2.4.2-r0
mbedtls
Alpine:v3.15
before 2.4.2-r0
2.4.2-r0
mbedtls
Alpine:v3.16
before 2.4.2-r0
2.4.2-r0
mbedtls
Alpine:v3.17
before 2.4.2-r0
2.4.2-r0
mbedtls
Alpine:v3.18
before 2.4.2-r0
2.4.2-r0
mbedtls
Alpine:v3.19
before 2.4.2-r0
2.4.2-r0
Show 13 moreShow less
Affected packages
PackageAffectedFixed
mbedtls
Alpine:v3.20
before 2.4.2-r0
2.4.2-r0
mbedtls
Alpine:v3.21
before 2.4.2-r0
2.4.2-r0
mbedtls
Alpine:v3.22
before 2.4.2-r0
2.4.2-r0
mbedtls
Alpine:v3.23
before 2.4.2-r0
2.4.2-r0
mbedtls
Alpine:v3.24
before 2.4.2-r0
2.4.2-r0
mbedtls
Debian:12
before 2.4.2-1
2.4.2-1
mbedtls
Debian:13
before 2.4.2-1
2.4.2-1
mbedtls
Debian:14
before 2.4.2-1
2.4.2-1
mbedtls
Mageia:5
before 1.3.19-1.mga5
1.3.19-1.mga5
mbedtls
Ubuntu: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
mbedtls
SUSE:Package Hub 12
before 1.3.19-5.1
1.3.19-5.1
mbedtls-2
openSUSE:Tumbleweed
From an advisory covering 5 CVEs
before 2.27.0-1.2
2.27.0-1.2
mbedtls-3
openSUSE:Tumbleweed
From an advisory covering 14 CVEs
before 3.6.6-1.1
3.6.6-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 24 moreShow less
MoveEnter Open