{"id":"CVE-2024-3096","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-2024-3096","BIT-php-min-2024-3096"],"modified":"2026-04-16T04:35:01.390224565Z","published":"2024-04-29T04:15:08.350Z","related":["ALSA-2024:10949","ALSA-2024:10950","ALSA-2024:10951","ALSA-2024:10952","GHSA-h746-cjrr-wfmr","SUSE-SU-2024:1444-1","SUSE-SU-2024:1445-1","SUSE-SU-2024:1446-1","SUSE-SU-2024:2037-1","openSUSE-SU-2024:13867-1"],"references":[{"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/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240510-0010/"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00005.html"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2024/04/12/11"},{"type":"EVIDENCE","url":"https://github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmr"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"381ba9f5d0edd0c9c8ec1dea7e21d513ad08b115"},{"fixed":"9119509142637005d079bcc2815ee43ec1c79524"},{"introduced":"70ee6c20ad97e02c2b8098aeea96fefbbc3ac5c2"},{"fixed":"d94fdf582e1fe4a1d85ded00a4c8b9935486c51d"},{"introduced":"d26068059e83fe40de3430a512471d194119bee0"},{"fixed":"9a9c7197c4774c80f622222b3dfa874e6dc44f67"}],"database_specific":{"versions":[{"introduced":"8.1.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://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3096.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"10.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"}]}