5.9

CVE-2024-2408: PHP is vulnerable to the Marvin Attack

Modified
AliasesUBUNTU-CVE-2024-2408DEBIAN-CVE-2024-2408CGA-49wv-hjj9-24gv
Published 09-06-2024Last modified 21-03-2025

Vulnerability summary

CVE-2024-2408 is a medium (CVSS 5.9) Observable Discrepancy vulnerability in fedoraproject fedora. EPSS estimates a 1.16% chance of exploitation in the next 30 days, higher than 68.1% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.16%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 6

Timeline

  1. 09-06-2024
    PublishedVulnerability first disclosed.
  2. 21-03-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

1.16%

Chance of exploitation in the next 30 days

Percentile

68%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.16% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Php Src

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • php-8.1< 8.1.29-r0
  • php-8.2< 8.2.20-r0
Wolfi2 products
  • php-8.1< 8.1.29-r0
  • php-8.2< 8.2.20-r0
Debian1 product
  • php8.2< 8.2.18-1
Fedoraproject1 product
Php1 product
  • php≥ 8.1.0, < 8.1.29 | ≥ 8.2.0, < 8.2.20 | ≥ 8.3.0, < 8.3.8
Php group1 product
  • php≥ 8.1.*, < 8.1.29 | ≥ 8.2.*, < 8.2.20 | ≥ 8.3.*, < 8.3.8
Ubuntu1 product
  • php5All versions (No fix recorded)

7 vendors · 9 products

References

13 links
Show all 13 references