{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-3096","id":"CVE-2024-3096","title":"PHP function password_verify can erroneously return true when argument contains NUL","description":"In PHP  version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\\x00), testing a blank string as the password via password_verify() will incorrectly return true.","descriptionLong":"In PHP  version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\\x00), testing a blank string as the password via password_verify() will incorrectly return true.","published":"2024-04-29T03:42:04.093Z","updated":"2026-10-28T02:30:55.065576372Z","reserved":"2024-03-29T16:57:27.435Z","status":"Modified","rejected":false,"assigner":"php","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"php"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"php"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"php.net"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["PHP Group PHP"],"affectedProducts":[{"vendor":"PHP Group","product":"PHP","defaultStatus":"affected","versions":[{"lessThan":"8.1.28","status":"affected","version":"8.1.*","versionType":"semver"},{"lessThan":"8.2.18","status":"affected","version":"8.2.*","versionType":"semver"},{"lessThan":"8.3.5","status":"affected","version":"8.3.*","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-20"],"aliases":["BIT-libphp-2024-3096","BIT-php-2024-3096","BIT-php-min-2024-3096","GHSA-h746-cjrr-wfmr"],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmr","tags":["x_transferred","Exploit","Vendor Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/04/12/11","tags":["x_transferred","Mailing List","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00005.html","tags":["x_transferred","Mailing List","web"]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0010/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3096.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3096","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01492,"epssPercentile":0.7469,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-3096","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3096","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-3096","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-3096","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}