# CVE-2024-0914: Opencryptoki: timing side-channel in handling of rsa pkcs#1 v1.5 padded ciphertexts (marvin)

> Attackers can exploit timing side-channels in RSA PKCS#1 v1.5 processing to decrypt ciphertexts or forge signatures without the private key.

- **Severity:** Medium 5.9 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 31 Jan 2024
- **Updated:** 24 Mar 2026
- **Also known as:** ALSA-2024:1239, ALSA-2024:1608, AZL-34206, AZL-36965, CLSA-2026-1784542737, DEBIAN-CVE-2024-0914, GHSA-qghg-5fph-q28c, MGASA-2024-0152, RHSA-2024:1239, RHSA-2024:1411, RHSA-2024:1608, RHSA-2024:1856, RHSA-2024:1992, RLSA-2024:1608, SUSE-SU-2024:1447-1, SUSE-SU-2024:2298-1, UBUNTU-CVE-2024-0914, openSUSE-SU-2024:14195-1

## What is CVE-2024-0914?

CVE-2024-0914 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 31 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

A timing side-channel vulnerability has been discovered in the opencryptoki package while processing RSA PKCS#1 v1.5 padded ciphertexts. This flaw could potentially enable unauthorized RSA ciphertext decryption or signing, even without access to the corresponding private key.

Weakness: CWE-203 (Observable Discrepancy)

## Which versions are affected by CVE-2024-0914?

It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `opencryptoki` | AlmaLinux:8 | All versions | 3.21.0-10.el8_9.alma.1 |
| `opencryptoki-ccatok` | AlmaLinux:8 | All versions | 3.21.0-10.el8_9.alma.1 |
| `opencryptoki-devel` | AlmaLinux:8 | All versions | 3.21.0-10.el8_9.alma.1 |
| `opencryptoki-ep11tok` | AlmaLinux:8 | All versions | 3.21.0-10.el8_9.alma.1 |
| `opencryptoki-icatok` | AlmaLinux:8 | All versions | 3.21.0-10.el8_9.alma.1 |
| `opencryptoki-icsftok` | AlmaLinux:8 | All versions | 3.21.0-10.el8_9.alma.1 |
| `opencryptoki-libs` | AlmaLinux:8 | All versions | 3.21.0-10.el8_9.alma.1 |
| `opencryptoki-swtok` | AlmaLinux:8 | All versions | 3.21.0-10.el8_9.alma.1 |
| `opencryptoki-tpmtok` | AlmaLinux:8 | All versions | 3.21.0-10.el8_9.alma.1 |
| `opencryptoki` | AlmaLinux:9 | All versions | 3.21.0-9.el9_3.alma.1 |
| `opencryptoki-ccatok` | AlmaLinux:9 | All versions | 3.21.0-9.el9_3.alma.1 |
| `opencryptoki-devel` | AlmaLinux:9 | All versions | 3.21.0-9.el9_3.alma.1 |
| `opencryptoki-ep11tok` | AlmaLinux:9 | All versions | 3.21.0-9.el9_3.alma.1 |
| `opencryptoki-icatok` | AlmaLinux:9 | All versions | 3.21.0-9.el9_3.alma.1 |
| `opencryptoki-icsftok` | AlmaLinux:9 | All versions | 3.21.0-9.el9_3.alma.1 |
| `opencryptoki-libs` | AlmaLinux:9 | All versions | 3.21.0-9.el9_3.alma.1 |
| `opencryptoki-swtok` | AlmaLinux:9 | All versions | 3.21.0-9.el9_3.alma.1 |
| `opencryptoki` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-ccatok` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-ccatok-debuginfo` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-debuginfo` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-debugsource` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-ep11tok` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-ep11tok-debuginfo` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-icatok` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-icatok-debuginfo` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-icsftok` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-icsftok-debuginfo` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-libs` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-libs-debuginfo` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-swtok` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-swtok-debuginfo` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-tpmtok` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-tpmtok-debuginfo` | Red Hat:enterprise_linux:8::baseos | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-ccatok-debuginfo` | Red Hat:enterprise_linux:8::crb | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-debuginfo` | Red Hat:enterprise_linux:8::crb | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-debugsource` | Red Hat:enterprise_linux:8::crb | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-devel` | Red Hat:enterprise_linux:8::crb | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-ep11tok-debuginfo` | Red Hat:enterprise_linux:8::crb | All versions | 0:3.21.0-10.el8_9 |
| `opencryptoki-icatok-debuginfo` | Red Hat:enterprise_linux:8::crb | All versions | 0:3.21.0-10.el8_9 |

Products: Opencryptoki Project Opencryptoki, Redhat Enterprise Linux.

## How do I fix CVE-2024-0914?

Apply the vendor's patch.

## Is CVE-2024-0914 being exploited?

There is no known exploitation of CVE-2024-0914 in the wild and no public exploit code.

## Other vulnerabilities in Redhat Enterprise Linux

- [CVE-2026-40253](https://insights.sbomify.com/CVE-2026-40253/): openCryptoki: Memory safety vulnerabilities in BER/DER decoders in asn1.c (medium 6.8)
- [CVE-2026-23893](https://insights.sbomify.com/CVE-2026-23893/): openCryptoki has improper link resolution before file access (link following) (medium 6.8)
- [CVE-2026-22791](https://insights.sbomify.com/CVE-2026-22791/): openCryptoki incorrectly calculates the buffer size in C_WrapKey with CKM_ECDH_AES_KEY_WRAP (medium 6.6)
- [CVE-2012-4455](https://insights.sbomify.com/CVE-2012-4455/): Path traversal in n/a (medium 6.2)
- [CVE-2021-3798](https://insights.sbomify.com/CVE-2021-3798/): Information disclosure in opencryptoki (medium 5.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-0914 and fix it if it is affected.

What it is: CVE-2024-0914 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 31 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2024-0914 in the wild and no public exploit code.

Affected product: Redhat Enterprise Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-0914/ (Markdown: https://insights.sbomify.com/CVE-2024-0914/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-0914
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-0914
- OSV: https://osv.dev/vulnerability/CVE-2024-0914

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-0914/
Summaries are generated and may contain mistakes; the official description above is the record.
