Live threats

All CVEs / Php

CVE-2024-3096Php

Medium 6.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≥ 8.1.0 < 8.1.28
phpphp≥ 8.2.0 < 8.2.18
phpphp≥ 8.3.0 < 8.3.5
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.