CVE-2018-16869
Medium · 5.7CVSS
5.7
EPSS
1.5%
Published
Dec 3, 2018
CISA due date
—
Cloudanix analysis
Attackers sharing the same computer processor as an affected application could potentially read secret encrypted messages or weaken secure network connections.
- Exploitation
- Physical Access
- Attacker needs
- Physical Access
- Complexity
- High
- Impact
- Data Exposure
- Component
- Library
- Class
- Cryptographic Weakness
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw introduces a side-channel leak during endian conversion of RSA PKCS#1 v1.5 decrypted data in nettle, enabling a Bleichenbacher-style padding oracle that leaks plaintext bits when an attacker shares the same physical CPU core.
Why it matters to the business
Organizations using nettle for RSA-based TLS or encryption on multi-tenant or shared hardware risk exposure of sensitive decrypted data or forced downgrade of secure connections, potentially affecting compliance and data confidentiality.
How an attack unfolds
An attacker first co-locates a malicious process on the same physical core as the victim application performing RSA operations with nettle, then measures timing or cache side effects during endian conversion of PKCS#1 v1.5 padding to recover plaintext or force TLS protocol downgrades.
How to fix it
Upgrade nettle to a version that eliminates the endian-conversion side-channel in RSA PKCS#1 v1.5 handling; where upgrades are unavailable, replace nettle with a library providing constant-time RSA padding checks or disable RSA key exchanges in TLS configurations.
How to confirm the fix worked
Review build and package manifests for nettle versions after the 2018-12-03 disclosure date; test RSA decryption paths under co-located process load to confirm absence of measurable timing variance on padding errors.
Typical attack path
- Gain code execution or scheduling control on the same physical CPU core as the target process
- Trigger or observe repeated RSA decryption operations using vulnerable nettle code
- Collect side-channel measurements (timing, cache) across multiple oracle queries
- Reconstruct plaintext or derive session material to decrypt or downgrade TLS traffic
How to detect it
Examine process scheduling logs, CPU affinity settings, and application traces for co-located processes during RSA operations; review TLS handshake logs for unexpected protocol downgrades or repeated decryption attempts from local processes.
What your security team should do
- Inventory all systems and containers depending on nettle and schedule upgrades to patched releases
- Prioritize hardware-isolated environments or CPU pinning policies for cryptographic workloads until fixed
- Monitor EPSS and exploit maturity trends; prepare compensating controls such as TLS cipher restrictions if patching lags
The record
A Bleichenbacher type side-channel based padding oracle attack was found in the way nettle handles endian conversion of RSA decrypted PKCS#1 v1.5 data. An attacker who is able to run a process on the same physical core as the victim process, could use this flaw extract plaintext or in some cases downgrade any TLS connections to a vulnerable server.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | nettle | 0 | 3.4.1~rc1-1 |
| Debian:12 | nettle | 0 | 3.4.1~rc1-1 |
| Debian:13 | nettle | 0 | 3.4.1~rc1-1 |
| Debian:14 | nettle | 0 | 3.4.1~rc1-1 |
| Mageia:6 | nettle | 0 | 3.4.1-1.mga6 |
| SUSE:Linux Enterprise Module for Basesystem 15 | libnettle | 0 | 3.4-4.3.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 | libnettle | 0 | 3.4-4.3.1 |
| Ubuntu:14.04:LTS | nettle | 0 | No fix |
| Ubuntu:16.04:LTS | nettle | 0 | No fix |
| Ubuntu:18.04:LTS | nettle | 0 | 3.4.1-0ubuntu0.18.04.1 |
| Ubuntu:20.04:LTS | nettle | 0 | 3.5.1+really3.5.1-2ubuntu0.2 |
| Ubuntu:Pro:14.04:LTS | nettle | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | nettle | 0 | No fix |
Related vulnerabilities
- CVE-2016-6489 The RSA and DSA decryption code in Nettle makes it easier for attackers to discover… Also affects nettle
- CVE-2015-8803 The ecc_256_modp function in ecc-256.c in Nettle before 3.2 does not properly handle… Also affects nettle
- CVE-2026-88834 A flaw was found in BusyBox's httpd web server. CWE-203
- CVE-2026-87620 Observable discrepancy in SVG in Google Chrome prior to 153.0.8010.36 allowed a remote… CWE-203
- CVE-2026-87623 Observable discrepancy in DOM in Google Chrome prior to 153.0.8010.36 allowed a remote… CWE-203
- CVE-2026-87619 Observable discrepancy in Prefetch in Google Chrome prior to 153.0.8010.36 allowed a… CWE-203
- CVE-2026-87566 Observable discrepancy in Layout in Google Chrome prior to 153.0.8010.36 allowed a remote… CWE-203
- CVE-2026-87539 Observable discrepancy in Network in Google Chrome prior to 153.0.8010.36 allowed a… CWE-203