Skip to content
Noroxi
NVD / CVE Program· CNA php

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

Noroxi assessment

Priority: Monitor (action score 23/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 1.1% (FIRST EPSS); higher than 66.8% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: PHP Group PHP 8.1.29, 8.2.20, 8.3.8.

Low priority for now. Upgrade to PHP Group PHP 8.1.29, 8.2.20, 8.3.8 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

MediumCVSS 5.9 · v3.1—No exploit Fix available
Published
Jun 9, 2024
Updated
Jun 17, 2026
EPSS
1.1% · 66th percentile

Report tools

JSON

Action score

23

Monitor

Low priority for now.

CVSS
23 / 40 · 5.9 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.1%

CISA SSVC decision

Exploitation
proof of concept
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2024-2408

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
phpphp
fedoraprojectfedora

Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)

Watch new CVEs for php

When you'll hear from us

  • when a new CVE affecting this product is published
  • when a record in your stack enters KEV or gets exploit code

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • php php8.1.0 and later · before 8.1.29
  • php php8.2.0 and later · before 8.2.20
  • php php8.3.0 and later · before 8.3.8

Versions reported by the vendor

Affected version ranges reported by the assigning authority (php). Independent of NVD's CPE analysis and usually ahead of it.

  • PHP Group PHP

    • 8.1.* and later · before 8.1.29affected · semver
    • 8.2.* and later · before 8.2.20affected · semver
    • 8.3.* and later · before 8.3.8affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12php8.2before 8.2.18-18.2.18-1
Red Hat:enterprise_linux:8::baseosopensslbefore 1:1.1.1k-12.el8_91:1.1.1k-12.el8_9
Red Hat:enterprise_linux:8::baseosopenssl-debuginfobefore 1:1.1.1k-12.el8_91:1.1.1k-12.el8_9
Red Hat:enterprise_linux:8::baseosopenssl-debugsourcebefore 1:1.1.1k-12.el8_91:1.1.1k-12.el8_9
Red Hat:enterprise_linux:8::baseosopenssl-develbefore 1:1.1.1k-12.el8_91:1.1.1k-12.el8_9
Red Hat:enterprise_linux:8::baseosopenssl-libsbefore 1:1.1.1k-12.el8_91:1.1.1k-12.el8_9
Red Hat:enterprise_linux:8::baseosopenssl-libs-debuginfobefore 1:1.1.1k-12.el8_91:1.1.1k-12.el8_9
Red Hat:enterprise_linux:8::baseosopenssl-perlbefore 1:1.1.1k-12.el8_91:1.1.1k-12.el8_9
Rocky Linux:8opensslbefore 1:1.1.1k-12.el8_91:1.1.1k-12.el8_9

Same product

php: all records

Other highest-scoring records for the same primary product.

  • CVE-2024-4577Argument Injection in PHP-CGIKEV
    99Now
  • CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV
    99Now
  • CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle queKEV
    99Now

Published before and after this one in the same product

  • ← EarlierCVE-2024-5458Jun 9, 2024 · Filter bypass in filter_var (FILTER_VALIDATE_URL)
    25Monitor
  • ← EarlierCVE-2024-5585Jun 9, 2024 · Command injection via array-ish $command parameter of proc_open() (bypass CVE-2024-1874 fix)
    44Plan
  • Later →CVE-2024-8925Oct 8, 2024 · Erroneous parsing of multipart form data
    21Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
PHP Group PHP8.1.29Vendor (CNA)
PHP Group PHP8.2.20Vendor (CNA)
PHP Group PHP8.3.8Vendor (CNA)
debian:php8.28.2.18-1 · Debian:12Package registry (OSV)
red hat:openssl1:1.1.1k-12.el8_9 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:openssl-debuginfo1:1.1.1k-12.el8_9 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:openssl-debugsource1:1.1.1k-12.el8_9 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:openssl-devel1:1.1.1k-12.el8_9 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:openssl-libs1:1.1.1k-12.el8_9 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:openssl-libs-debuginfo1:1.1.1k-12.el8_9 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:openssl-perl1:1.1.1k-12.el8_9 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
rocky linux:openssl1:1.1.1k-12.el8_9 · Rocky Linux:8Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records