CVE-2023-43615
High · 7.5CVSS
7.5
EPSS
0.9%
Published
Oct 7, 2023
CISA due date
—
Cloudanix analysis
A problem in a common encryption library could let attackers steal private information sent over the internet unless the software is updated.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A buffer overflow in Mbed TLS before 2.28.5 and 3.5.0 permits remote attackers to read beyond buffer boundaries, exposing sensitive memory contents such as cryptographic material.
Why it matters to the business
Organizations relying on affected Mbed TLS versions face risk of confidential data exposure that could enable further attacks; the issue has been public for over three years with slowly rising exploit likelihood.
How an attack unfolds
An attacker sends crafted network packets to a TLS endpoint using vulnerable Mbed TLS, triggering the overflow during parsing to leak adjacent memory and obtain keys or other secrets.
How to fix it
Upgrade armmbed/mbedtls to commit 47e8cc9db2e469d902b0e3093ae9e482c3d87188 or versions 2.28.5 / 3.5.0 and later.
How to confirm the fix worked
Inspect Mbed TLS version strings and source history to confirm the fix commit is present; recompile dependent applications after upgrade.
Typical attack path
- Scan for services exposing vulnerable Mbed TLS versions
- Send maliciously formatted TLS records to trigger buffer overflow
- Parse leaked memory contents for sensitive data
How to detect it
Examine TLS-related error logs and memory dumps from affected services for signs of abnormal buffer handling; correlate with network traffic from untrusted sources.
What your security team should do
- Immediately update all instances of Mbed TLS to the fixed commit or newer releases
- Inventory downstream dependents and prioritize high-exposure services
- Monitor EPSS trend for any acceleration indicating rising exploit activity
The record
Mbed TLS 2.x before 2.28.5 and 3.x before 3.5.0 has a Buffer Overflow.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.16 | mbedtls | 0 | 2.28.5-r0 |
| Alpine:v3.17 | mbedtls | 0 | 2.28.5-r0 |
| Alpine:v3.18 | mbedtls | 0 | 2.28.5-r0 |
| Alpine:v3.19 | mbedtls | 0 | 2.28.5-r0 |
| Alpine:v3.20 | mbedtls | 0 | 2.28.5-r0 |
| Alpine:v3.21 | mbedtls | 0 | 2.28.5-r0 |
| Alpine:v3.22 | mbedtls | 0 | 2.28.5-r0 |
| Debian:10 | mbedtls | 0 | No fix |
| Debian:11 | mbedtls | 0 | No fix |
| Debian:12 | mbedtls | 0 | No fix |
| Debian:13 | mbedtls | 0 | No fix |
| Debian:14 | mbedtls | 0 | No fix |
| Ubuntu:16.04:LTS | mbedtls | 0 | No fix |
| Ubuntu:18.04:LTS | mbedtls | 0 | No fix |
| Ubuntu:20.04:LTS | mbedtls | 0 | No fix |
| Ubuntu:22.04:LTS | mbedtls | 0 | No fix |
| Ubuntu:24.04:LTS | mbedtls | 0 | No fix |
| Ubuntu:24.10 | mbedtls | 0 | No fix |
| Ubuntu:25.04 | mbedtls | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | mbedtls | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mbedtls | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mbedtls | 0 | No fix |
Related vulnerabilities
- CVE-2024-28960 An issue was discovered in Mbed TLS 2.18.0 through 2.28.x before 2.28.8 and 3.x before… Also affects mbedtls
- CVE-2024-23775 Integer Overflow vulnerability in Mbed TLS 2.x before 2.28.7 and 3.x before 3.5.2, allows… Also affects mbedtls
- CVE-2024-23170 An issue was discovered in Mbed TLS 2.x before 2.28.7 and 3.x before 3.5.2. Also affects mbedtls
- CVE-2022-35409 An issue was discovered in Mbed TLS before 2.28.1 and 3.x before 3.2.0. Also affects mbedtls
- CVE-2021-44732 Mbed TLS before 3.0.1 has a double free in certain out-of-memory conditions, as… Also affects mbedtls
- CVE-2024-45157 An issue was discovered in Mbed TLS before 2.28.9 and 3.x before 3.6.1, in which the… Also affects mbedtls
- JLSEC-2025-187 Mbed TLS before 2.28.10 and 3.x before 3.6.3, in some cases of failed memory allocation… Also affects mbedtls
- CVE-2024-49195 Mbed TLS 3.5.x through 3.6.x before 3.6.2 has a buffer underrun in pkwrite when writing… Also affects mbedtls