CVE-2024-3096Php
Medium 6.5 No auth needed
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 68
- Auth required
- No
- Published
- Apr 29, 2024
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | ≥ 8.1.0 < 8.1.28 |
| php | php | ≥ 8.2.0 < 8.2.18 |
| php | php | ≥ 8.3.0 < 8.3.5 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List
- github.com Exploit Vendor Advisory
- lists.debian.org Mailing List
- security.netapp.com Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org