CVE-2024-45158
criticalpriority · track · 0EPSS 0.007 · 52 %ileEUUSEPSS · scored 2026-10-27
An issue was discovered in Mbed TLS 3.6 before 3.6.1. A stack buffer overflow in mbedtls_ecdsa_der_to_raw() and mbedtls_ecdsa_raw_to_der() can occur when the bits parameter is larger than the largest supported curve. In some configurations with PSA disabled, all values of bits are affected. (This never happens in internal library calls, but can affect applications that call these functions directly.)
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-45158/cnnvd
- https://github.com/Mbed-TLS/mbedtls/releases/cnnvd
- https://mbed-tls.readthedocs.io/en/latest/security-advisories/cnnvd
- https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2024-08-2/cnnvd
- https://github.com/Mbed-TLS/mbedtls/releases/enisa_euvd
- https://mbed-tls.readthedocs.io/en/latest/security-advisories/enisa_euvd
- https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2024-08-2/enisa_euvd
- https://github.com/Mbed-TLS/mbedtls/releases/Release Notesnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan