{"schemaVersion":3,"id":"CVE-2024-2408","aliases":["UBUNTU-CVE-2024-2408","DEBIAN-CVE-2024-2408","CGA-49wv-hjj9-24gv","CGA-c95g-654j-2wpp","CGA-pv8c-prhg-qp9v","CGA-v674-pqr7-565g"],"status":"published","duplicateOf":null,"title":null,"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.\n\nPHP Windows builds for the versions 8.1.29, 8.2.20 and 8.3.8 and above include OpenSSL patches that fix the vulnerability.","dates":{"published":"2024-06-09T19:55:51.625Z","modified":"2025-03-21T18:03:45.831Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01158,"percentile":0.66601,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01158},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01158,"percentile":0.66601}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01158,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01158,"percentile":0.66601}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_PHP_PHP-SRC","name":"Php Src","source":"github","url":"https://github.com/php/php-src/commit/fb58e69a84f4fde603a630d2c9df2fa3be16d846","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-203","name":"Observable Discrepancy","description":"The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/203.html"}],"affected":[{"vendor":"chainguard","product":"php-8.1","name":"php-8.1","label":"php-8.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/php-8.1","purlType":"apk","versions":[{"text":"< 8.1.29-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.1.29-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"php-8.2","name":"php-8.2","label":"php-8.2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/php-8.2","purlType":"apk","versions":[{"text":"< 8.2.20-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.2.20-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"php-8.1","name":"php-8.1","label":"php-8.1","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/php-8.1","purlType":"apk","versions":[{"text":"< 8.1.29-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.1.29-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"php-8.2","name":"php-8.2","label":"php-8.2","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/php-8.2","purlType":"apk","versions":[{"text":"< 8.2.20-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.2.20-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"php8.2","name":"php8.2","label":"php8.2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php8.2","purlType":"deb","versions":[{"text":"< 8.2.18-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.2.18-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php5","name":"php5","label":"php5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php5","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"40","noFixRecorded":false,"fixedIn":null}],"versionsText":"40","eol":{"isEol":true,"eolDate":"2025-05-13T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"40","label":"40","eolFrom":"2025-05-13T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"php_group","product":"php","name":"PHP","label":"php","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.1.*, < 8.1.29","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.2.*, < 8.2.20","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.3.*, < 8.3.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.1.*, < 8.1.29 | ≥ 8.2.*, < 8.2.20 | ≥ 8.3.*, < 8.3.8","eol":null,"hubHref":"/vendor/php_group/php"},{"vendor":"php","product":"php","name":"PHP","label":"php","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.1.0, < 8.1.29","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.2.0, < 8.2.20","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.3.0, < 8.3.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.1.0, < 8.1.29 | ≥ 8.2.0, < 8.2.20 | ≥ 8.3.0, < 8.3.8","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"php","label":"PHP","category":"lang"}},"hubHref":"/vendor/php/php"}],"affectedCount":9,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-hh26-4ppw-5864","label":"github.com/php/php-src/security/advisories/GHSA-hh26-4ppw-5864","hostname":"github.com","tags":["REPORT","Advisory","Exploit","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://security.netapp.com/advisory/ntap-20250321-0008/","label":"security.netapp.com/advisory/ntap-20250321-0008/","hostname":"security.netapp.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-2408","label":"ubuntu.com/security/CVE-2024-2408","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-2408","label":"www.cve.org/CVERecord?id=CVE-2024-2408","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6663-1","label":"ubuntu.com/security/notices/USN-6663-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-6663-2","label":"ubuntu.com/security/notices/USN-6663-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-6663-3","label":"ubuntu.com/security/notices/USN-6663-3","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-2408","label":"security-tracker.debian.org/tracker/CVE-2024-2408","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2408.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2408.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2408","label":"nvd.nist.gov/vuln/detail/CVE-2024-2408","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/php/php-src","label":"github.com/php/php-src","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["RHSA-2023:7877"],"duplicates":[],"related":["CGA-3HPQ-6PCH-94J5","CGA-M325-M6HF-H7PR","CGA-P742-C49Q-3J94","USN-6663-1","USN-6663-2","USN-6663-3"]},"timeline":[{"kind":"published","date":"2024-06-09T19:55:51.625Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-21T18:03:45.831Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T12:14:45.800Z","stale":false,"partial":false}}