cve.bz

CVE-2017-2784 trustedfirmware mbed tls: Improper Certificate Validation

8.1 highExploit referenceEPSS 3.4%

High (8.1) in trustedfirmware mbed tls. EPSS 3.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
3.4% (unchanged from 3.4% a week ago; 3.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-2784 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-2784?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-2784?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-2784 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
trustedfirmware:mbed_tlsthrough 1.3.18
trustedfirmware:mbed_tls2.0.0
trustedfirmware:mbed_tls2.1.0
trustedfirmware:mbed_tls2.1.1
trustedfirmware:mbed_tls2.1.2
trustedfirmware:mbed_tls2.1.3
trustedfirmware:mbed_tls2.1.4
trustedfirmware:mbed_tls2.1.5
trustedfirmware:mbed_tls2.1.6
trustedfirmware:mbed_tls2.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14mbedtls2.4.2-1DEBIAN-CVE-2017-2784
Ubuntu16.04:LTSmbedtls2.2.1-2ubuntu0.1UBUNTU-CVE-2017-2784
SUSEPackage Hub 12mbedtls1.3.19-5.1openSUSE-SU-2017:0790-1 openSUSE-SU-2017:0792-1
openSUSETumbleweedmbedtls-22.27.0-1.2openSUSE-SU-2024:11043-1
openSUSETumbleweedmbedtls-33.6.6-1.1openSUSE-SU-2026:11119-1
Alpinev3.5, v3.6, v3.7 and 12 morembedtls2.4.2-r0ALPINE-CVE-2017-2784
Alpinev3.20, v3.21, v3.22 and 1 morembedtls, mbedtls22.4.2-r0ALPINE-CVE-2017-2784
Alpinev3.24mbedtls, mbedtls2, mbedtls32.4.2-r0ALPINE-CVE-2017-2784

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON