Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-2408

published medium CVSS 3.1 · 5.9

PHP is vulnerable to the Marvin Attack

Published
09 Jun 2024, 19:55:51 UTC
Updated
21 Mar 2025, 18:03:45 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
PHP Group — PHP8.1.* to < 8.1.29 · 8.2.* to < 8.2.20 · 8.3.* to < 8.3.8 · Other versions: affected Affected Not stated php
php — php8.1.0 to < 8.1.29 · 8.2.0 to < 8.2.20 · 8.3.0 to < 8.3.8 · Other versions: affected Affected Not stated CISA-ADP
fedoraproject — fedora40 · Other versions: unknown Affected Not stated CISA-ADP
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2PHP8.1-2024-005 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-654 Fixed Not stated Amazon Linux assessment
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2024-678 Fixed Not stated Amazon Linux assessment

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.

en · php · cna

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.9 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
PHP Group PHP 8.1.* to < 8.1.29 (affected · semver)8.2.* to < 8.2.20 (affected · semver)8.3.* to < 8.3.8 (affected · semver)Default: affected php · cna
php php 8.1.0 to < 8.1.29 (affected · semver)8.2.0 to < 8.2.20 (affected · semver)8.3.0 to < 8.3.8 (affected · semver)Default: affected CISA-ADP · adp
fedoraproject fedora 40 (affected)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-203 CWE-203 Observable Discrepancy (CISA-ADP · adp)

References

4

Provider assertions

3

php · cna

PHP is vulnerable to the Marvin Attack

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
72d4bdb73dd18a84d58da399040ad3efc735bcee235ad46d26c0dcd651948d8e
Ingested
23 Sep 2026, 08:21:43 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected