CVE-2024-2408
MEDIUMDescription
The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless it is used with an OpenSSL version that includes the changes from this pull request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection). These changes are part of OpenSSL 3.2 and have also been backported to stable versions of various Linux distributions, as well as to the PHP builds provided for Windows since the previous release. All distributors and builders should ensure that this version is used to prevent PHP from being vulnerable. PHP Windows builds for the versions 8.1.29, 8.2.20 and 8.3.8 and above include OpenSSL patches that fix the vulnerability.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 63% of all known CVEs.
References
Related Vulnerabilities
Other CWE-203 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2017-5753 | Medium | 5.6 | 94% | - | Fix |
| CVE-2003-0190 | Medium | 5.0 | 77% | - | Fix |
| CVE-2017-5715 | Medium | 5.6 | 74% | - | Fix |
| CVE-2018-3639 | Medium | 5.5 | 61% | - | Fix |
| CVE-2023-28770 | High | 7.5 | 58% | - | Fix |
| CVE-2004-1602 | Medium | 5.0 | 31% | - | - |
Embed a live status badge for CVE-2024-2408
Markdown
[](https://tridentstack.com/cve/CVE-2024-2408)HTML
<a href="https://tridentstack.com/cve/CVE-2024-2408"><img src="https://tridentstack.com/cve/badge/CVE-2024-2408.svg" alt="CVE-2024-2408"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-03-21.