CVE-2024-3096
Advisory lineage Upstream: 0 Downstream: 18
Modified
Published: 29 Apr 2024, 03:42
Last modified:04 Nov 2025, 17:19
Vulnerability Summary
Overall Risk (default)
medium
36/100 CVSS Score
6.5 MEDIUM
v3.1 (cve.org)
EPSS Score
1.07% LOW
1% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
29 Apr 2024, 03:42
Published
Vulnerability first disclosed
04 Nov 2025, 17:19
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS Trends
Current EPSS score: 1.07%• Percentile: 78%
Techniques & Countermeasures
- CWE-20•Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Affected Systems
- debian•debian_linux
10.0
- Unknown•PHP
≥ 8.1.*, < 8.1.28 | ≥ 8.2.*, < 8.2.18 | ≥ 8.3.*, < 8.3.5
- Unknown•PHP
≥ 8.1.0, < 8.1.28 | ≥ 8.2.0, < 8.2.18 | ≥ 8.3.0, < 8.3.5
References (6)
- https://github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmr
- http://www.openwall.com/lists/oss-security/2024/04/12/11
- https://lists.debian.org/debian-lts-announce/2024/05/msg00005.html
- https://security.netapp.com/advisory/ntap-20240510-0010/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/