PT-2024-5790

CVE-2024-2408

·

Published

2023-12-19

·

Updated

2025-08-11

Description by

CVSS 3.1
5.9
Medium
MetricsAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions PHP versions prior to 8.1.29 PHP versions prior to 8.2.20 PHP versions prior to 8.3.8
Description The issue is related to the openssl private decrypt function in PHP when using PKCS1 padding, which is the default. This makes PHP vulnerable to the Marvin Attack unless used with an OpenSSL version that includes specific changes. The changes are part of OpenSSL 3.2 and have been backported to stable versions of various Linux distributions and PHP builds for Windows.
Recommendations For PHP versions prior to 8.1.29, update to version 8.1.29 or later to include OpenSSL patches that fix the vulnerability. For PHP versions prior to 8.2.20, update to version 8.2.20 or later to include OpenSSL patches that fix the vulnerability. For PHP versions prior to 8.3.8, update to version 8.3.8 or later to include OpenSSL patches that fix the vulnerability.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-HH26-4PPW-5864
ALSA-2023:7877
ALT-PU-2024-13731
ALT-PU-2024-16480
ALT-PU-2024-9191
ALT-PU-2024-9193
AZL-42616
AZL-42628
BIT-LIBPHP-2024-2408
BIT-PHP-2024-2408
BIT-PHP-MIN-2024-2408
CESA-2023_7877
RHSA-2023:7877
RHSA-2023_7877
USN-6663-1
USN-6663-2
USN-6663-3
Found an issue in the description? Have something to add? Feel free to write us 👾