{"id":"BIT-php-2024-3096","summary":"PHP function password_verify can erroneously return true when argument contains NUL","details":"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.","aliases":["BIT-libphp-2024-3096","BIT-php-min-2024-3096","CVE-2024-3096"],"modified":"2025-11-06T13:25:46.476Z","published":"2024-05-14T07:29:06.888Z","database_specific":{"cpes":["cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"],"severity":"Medium"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/04/12/11"},{"type":"WEB","url":"https://github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmr"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00005.html"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240510-0010/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3096"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/"}],"affected":[{"package":{"name":"php","ecosystem":"Bitnami","purl":"pkg:bitnami/php"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.1.28"},{"introduced":"8.2.0"},{"fixed":"8.2.18"},{"introduced":"8.3.0"},{"fixed":"8.3.5"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/php/BIT-php-2024-3096.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"}]}],"schema_version":"1.7.3"}