CVE-2020-16150
A Lucky 13 timing side channel in mbedtls_ssl_decrypt_buf in library/ssl_msg.c in Trusted...
A Lucky 13 timing side channel in mbedtls_ssl_decrypt_buf in library/ssl_msg.c in Trusted Firmware Mbed TLS through 2.23.0 allows an attacker to recover secret key information. This affects CBC mode because of a computed time difference based on a padding length.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.5
A Lucky 13 timing side channel in mbedtls_ssl_decrypt_buf in library/ssl_msg.c in Trusted Firmware Mbed TLS through 2.23.0 allows an attacker to recover secret key information. This affects CBC mode because of a computed time difference based on a padding length.
- Record
CVE-2020-16150- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 2.1 Low
AV:L/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-203
- Updated
- 2026-11-02
CVE List No score
A Lucky 13 timing side channel in mbedtls_ssl_decrypt_buf in library/ssl_msg.c in Trusted Firmware Mbed TLS through 2.23.0 allows an attacker to recover secret key information. This affects CBC mode because of a computed time difference based on a padding length.
- Record
CVE-2020-16150- Updated
- 2026-11-02
EUVDEUVD-2020-8116 No score
A Lucky 13 timing side channel in mbedtls_ssl_decrypt_buf in library/ssl_msg.c in Trusted Firmware Mbed TLS through 2.23.0 allows an attacker to recover secret key information. This affects CBC mode because of a computed time difference based on a padding length.
- Record
EUVD-2020-8116- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fgr3-j7rx-4hfv
5.5
A Lucky 13 timing side channel in mbedtls_ssl_decrypt_buf in library/ssl_msg.c in Trusted...
A Lucky 13 timing side channel in mbedtls_ssl_decrypt_buf in library/ssl_msg.c in Trusted Firmware Mbed TLS through 2.23.0 allows an attacker to recover secret key information. This affects CBC mode because of a computed time difference based on a padding length.
- Record
GHSA-fgr3-j7rx-4hfv- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-203
- Updated
- 2026-11-02
OSVALPINE-CVE-2020-16150
5.5
A Lucky 13 timing side channel in mbedtls_ssl_decrypt_buf in library/ssl_msg.c in Trusted Firmware Mbed TLS through 2.23.0 allows an attacker to recover secret key information. This affects CBC mode because of a computed time difference based on a padding length.
- Record
ALPINE-CVE-2020-16150- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-03
OSV
5.5
A Lucky 13 timing side channel in mbedtls_ssl_decrypt_buf in library/ssl_msg.c in Trusted Firmware Mbed TLS through 2.23.0 allows an attacker to recover secret key information. This affects CBC mode because of a computed time difference based on a padding length.
- Record
CVE-2020-16150- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Show 4 moreShow less
OSVDEBIAN-CVE-2020-16150
5.5
A Lucky 13 timing side channel in mbedtls_ssl_decrypt_buf in library/ssl_msg.c in Trusted Firmware Mbed TLS through 2.23.0 allows an attacker to recover secret key information. This affects CBC mode because of a computed time difference based on a padding length.
- Record
DEBIAN-CVE-2020-16150- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVJLSEC-2025-202
5.5
A Lucky 13 timing side channel in `mbedtls_ssl_decrypt_buf` in `library/ssl_msg.c` in Trusted...
A Lucky 13 timing side channel in mbedtls_ssl_decrypt_buf in library/ssl_msg.c in Trusted Firmware Mbed TLS through 2.23.0 allows an attacker to recover secret key information. This affects CBC mode because of a computed time difference based on a padding length.
- Record
JLSEC-2025-202- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 2.1 Low
AV:L/AC:L/Au:N/C:P/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-16150
5.5
A Lucky 13 timing side channel in mbedtls_ssl_decrypt_buf in library/ssl_msg.c in Trusted Firmware Mbed TLS through 2.23.0 allows an attacker to recover secret key information. This affects CBC mode because of a computed time difference based on a padding length.
- Record
UBUNTU-CVE-2020-16150- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVMGASA-2020-0370 No score
Updated mbedtls packages fix security vulnerabilities
mbedtls 2.16.8 fixes three security vulnerabilities which could affect earlier releases:
Local side channel attack on classical CBC decryption in (D)TLS (CVE-2020-16150).
Local side channel attack on RSA and static Diffie-Hellman.
Protocol weakness in DHE-PSK key exchange.
- Record
MGASA-2020-0370- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mbedtlsAlpine:v3.10 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtlsAlpine:v3.11 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtlsAlpine:v3.12 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtlsAlpine:v3.13 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtlsAlpine:v3.14 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtlsAlpine:v3.15 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtlsAlpine:v3.16 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtlsAlpine:v3.17 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtlsAlpine:v3.18 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtlsAlpine:v3.19 |
before 2.16.8-r0 | 2.16.8-r0 |
Show 20 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mbedtlsAlpine:v3.20 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtlsAlpine:v3.21 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtlsAlpine:v3.22 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtlsAlpine:v3.23 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtlsAlpine:v3.24 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtls2Alpine:v3.20 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtls2Alpine:v3.21 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtls2Alpine:v3.22 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtls2Alpine:v3.23 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtls2Alpine:v3.24 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtls3Alpine:v3.24 |
before 2.16.8-r0 | 2.16.8-r0 |
mbedtlsDebian:12 |
before 2.16.9-0.1 | 2.16.9-0.1 |
mbedtlsDebian:13 |
before 2.16.9-0.1 | 2.16.9-0.1 |
mbedtlsDebian:14 |
before 2.16.9-0.1 | 2.16.9-0.1 |
mbedtlsDebian:10 From an advisory covering 18 CVEs |
before 2.16.9-0~deb10u1, plus listed versions 2.16.0-12.16.2-12.16.3-12.16.4-12.16.5-1 |
2.16.9-0~deb10u1 |
MbedTLS_jllJulia |
before 2.16.8+0 | 2.16.8+0 |
mbedtlsMageia:7 |
before 2.16.8-1.mga7 | 2.16.8-1.mga7 |
mbedtlsUbuntu:16.04:LTS |
All versions, plus listed versions 2.1.2-12.2.0-12.2.1-12.2.1-22.2.1-2ubuntu0.12.2.1-2ubuntu0.22.2.1-2ubuntu0.3 |
None known |
mbedtlsUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 2.5.1-1ubuntu12.6.0-12.7.0-22.8.0-12.8.0-1ubuntu0.1~esm1 |
None known |
mbedtlsUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 2.16.2-12.16.3-12.16.4-1ubuntu22.16.4-1ubuntu2+esm1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | OSV | |
| 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-2020-16150 is a medium vulnerability (CVSS 5.5) in Arm Mbed Tls, published September 2, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.38%, the 32nd percentile. Fixed in mbedtls 2.16.8-r0.
References
tls.mbed.org/tech-updates/security-advisories
tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-09-1
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5OSOFUD6UTGTDDSQRS62BPXDU52I6PUA
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IRPBHCQKZXHVKOP5O5EWE7P76AWGUXQJ
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OD3NM6GD73CTFFRBKG5G2ACXGG7QQHCC
lists.debian.org/debian-lts-announce/2022/12/msg00036.html
Show 13 moreShow less
nvd.nist.gov/vuln/detail/CVE-2020-16150
lists.fedoraproject.org/archives/list/[email protected]/message/5OSOFUD6UTGTDDSQRS62BPXDU52I6PUA
lists.fedoraproject.org/archives/list/[email protected]/message/IRPBHCQKZXHVKOP5O5EWE7P76AWGUXQJ
lists.fedoraproject.org/archives/list/[email protected]/message/OD3NM6GD73CTFFRBKG5G2ACXGG7QQHCC
github.com/advisories/GHSA-fgr3-j7rx-4hfv
security.alpinelinux.org/vuln/CVE-2020-16150
security-tracker.debian.org/tracker/CVE-2020-16150
advisories.mageia.org/MGASA-2020-0370.html
bugs.mageia.org/show_bug.cgi?id=27282
tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-09-2
tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-09-3
ubuntu.com/security/CVE-2020-16150
cve.org/CVERecord?id=CVE-2020-16150