Skip to main content
CVE-2024-2408VulnerabilityPublished Updated

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

Affects phpSource GCVE Database

0

Not known to be exploited · fixed in 8.3.8 : update php when convenient.

Data as of 26 Oct 2026, 08:30 UTC

Severity
Medium

Rated by Threat Radar · No CVSS score from NVD or the CNA

EPSS
1.1% chance of exploitation in 30 days – higher than 66% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.3.8, 8.2.20, 8.1.29

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Jun 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade php to 8.3.8, 8.2.20 or 8.1.29.

Affected software

ProductAffectedFixed in
Bitnamiphppkg:bitnami/phpOther threatsAffected
  • <8.1.29
  • >=8.2.0 <8.2.20
  • >=8.3.0 <8.3.8
Fixed in
  • 8.1.29
  • 8.2.20
  • 8.3.8

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available and included in OpenSSL 3.2 and backported versions. PHP Windows builds 8.1.29, 8.2.20, and 8.3.8 and later include the necessary OpenSSL patches. Users should upgrade to these PHP versions or ensure their OpenSSL libraries include the rsa_pkcs1_implicit_rejection fix to mitigate the vulnerability.

Description

PHP's openssl_private_decrypt function using PKCS1 padding is vulnerable to the Marvin Attack unless used with OpenSSL versions that include the rsa_pkcs1_implicit_rejection fix. This fix is part of OpenSSL 3.2 and backported to stable Linux distributions and recent PHP Windows builds. PHP Windows builds version 8.1.29, 8.2.20, and 8.3.8 and above include the patched OpenSSL versions that mitigate this vulnerability.

References

Community reviews

Loading reviews…