Security mailing lists by PureSourceCode

CVE-2024-3096

MEDIUM 6.5CVSS 3.1

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.

Published
29 Apr 2024
Last modified
17 Jun 2026
Assigned by
security@php.net
NVD status
Modified
Weakness
CWE-20
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@php.net (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.1.0, < 8.1.28 8.1.28
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.2.0, < 8.2.18 8.2.18
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.3.0, < 8.3.5 8.3.5
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 29 Apr 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.