CVE-2024-3096

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-3096
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3096.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-3096
Aliases
Downstream
Related
Published
2024-04-29T04:15:08Z
Modified
2025-10-21T02:34:31Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
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 passwordhash() starts with a null byte (\x00), testing a blank string as the password via passwordverify() will incorrectly return true.

References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events