CVE-2024-28285
Critical · 9.8CVSS
9.8
EPSS
0.5%
Published
May 14, 2024
CISA due date
—
Cloudanix analysis
A flaw in a widely used encryption library lets an attacker on the same computer tamper with secret operations to steal keys and gain higher access.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- High
- Impact
- Full Compromise
- Component
- Library
- Class
- Cryptographic Weakness
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A fault injection vulnerability in the SymmetricDecrypt function of the ElGamal implementation in cryptopp/elgamal.h allows an attacker sharing the same physical system to induce computational errors during decryption, resulting in leakage of private key material or plaintext and subsequent privilege escalation.
Why it matters to the business
Systems relying on Crypto++ for cryptographic operations face risk of key compromise and unauthorized access when attackers achieve co-residency on shared hardware, potentially leading to data exposure and loss of system control despite low public exploit activity.
How an attack unfolds
An attacker first achieves co-residency on the same physical host as a victim process using Crypto++ 8.9, then applies hardware fault injection techniques such as voltage or electromagnetic glitching timed against ElGamal decryption calls to force observable errors that disclose secret information, ultimately using the recovered material to escalate privileges.
How to fix it
Upgrade Crypto++ to the latest version containing fixes for fault injection resistance in ElGamal operations; apply hardware-level fault detection where feasible and isolate cryptographic workloads from untrusted processes.
How to confirm the fix worked
Confirm Crypto++ version and review source for updated ElGamal handling; perform controlled fault-injection testing on decryption routines to verify absence of secret leakage under simulated faults.
Typical attack path
- Achieve co-residency on the target physical system or host
- Locate processes performing ElGamal decryption via Crypto++
- Time and deliver fault injection during SymmetricDecrypt execution
- Observe and extract leaked cryptographic material from induced faults
- Leverage recovered keys or data for privilege escalation
How to detect it
Inspect system and application logs for anomalous cryptographic errors or repeated decryption failures on shared hosts; correlate process activity with hardware monitoring for signs of external fault attempts.
What your security team should do
- Prioritize monitoring Crypto++ updates for ElGamal fault-injection mitigations given the 2024 disclosure
- Enforce workload isolation using virtualization or containers to reduce co-residency attack surface
- Evaluate migration to cryptographic libraries with built-in fault tolerance for high-value keys
The record
A Fault Injection vulnerability in the SymmetricDecrypt function in cryptopp/elgamal.h of Cryptopp Crypto++ 8.9, allows an attacker to co-reside in the same system with a victim process to disclose information and escalate privileges.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | libcrypto++ | 0 | No fix |
| Debian:12 | libcrypto++ | 0 | No fix |
| Debian:13 | libcrypto++ | 0 | No fix |
| SUSE:Enterprise Storage 7.1 | libcryptopp | 0 | 5.6.5-150000.1.15.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | libcryptopp | 0 | 5.6.5-150000.1.15.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | libcryptopp | 0 | 8.6.0-150400.3.9.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | libcryptopp | 0 | 8.6.0-150400.3.9.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | libcryptopp | 0 | 8.6.0-150400.3.9.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | libcryptopp | 0 | 8.6.0-150400.3.9.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | libcryptopp | 0 | 8.6.0-150400.3.9.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | libcryptopp | 0 | 8.6.0-150400.3.9.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | libcryptopp | 0 | 5.6.5-150000.1.15.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | libcryptopp | 0 | 8.6.0-150400.3.9.1 |
| SUSE:Linux Enterprise Server 15 SP5-LTSS | libcryptopp | 0 | 8.6.0-150400.3.9.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | libcryptopp | 0 | 5.6.5-150000.1.15.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | libcryptopp | 0 | 8.6.0-150400.3.9.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | libcryptopp | 0 | 8.6.0-150400.3.9.1 |
| SUSE:Manager Proxy 4.3 | libcryptopp | 0 | 8.6.0-150400.3.9.1 |
| SUSE:Manager Server 4.3 | libcryptopp | 0 | 8.6.0-150400.3.9.1 |
| Ubuntu:18.04:LTS | libcrypto++ | 0 | No fix |
| Ubuntu:20.04:LTS | libcrypto++ | 0 | No fix |
| Ubuntu:22.04:LTS | libcrypto++ | 0 | No fix |
| Ubuntu:24.04:LTS | libcrypto++ | 0 | No fix |
| Ubuntu:24.10 | libcrypto++ | 0 | No fix |
| Ubuntu:25.04 | libcrypto++ | 0 | No fix |
| Ubuntu:25.10 | libcrypto++ | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | libcrypto++ | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | libcrypto++ | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | libcrypto++ | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | libcrypto++ | 0 | No fix |
| openSUSE:Leap 15.6 | libcryptopp | 0 | 8.6.0-150400.3.9.1 |
| openSUSE:Tumbleweed | libcryptopp | 0 | 8.9.0-4.1 |
Related vulnerabilities
- CVE-2017-9434 Crypto++ (aka cryptopp) through 5.6.5 contains an out-of-bounds read vulnerability in… Also affects libcrypto++
- CVE-2026-92936 vm2 versions 3.11.0 through 3.11.6 leak absolute host filesystem paths to sandboxed code… CWE-209
- CVE-2026-11873 An Apache-proxied Dogtag CA REST endpoint exposed by IdM (POST /ca/rest/certrequests)… CWE-209
- CVE-2026-82739 Generation of Error Message Containing Sensitive Information vulnerability in ash-project… CWE-209
- CVE-2026-82733 Generation of Error Message Containing Sensitive Information vulnerability in ash-project… CWE-209
- CVE-2026-77950 Generation of Error Message Containing Sensitive Information vulnerability in ash-project… CWE-209
- CVE-2026-82727 Generation of Error Message Containing Sensitive Information vulnerability in ash-project… CWE-209
- CVE-2026-82580 Generation of Error Message Containing Sensitive Information vulnerability in ash-project… CWE-209