CVE-2024-3096

Source
https://cve.org/CVERecord?id=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:08.350Z
Modified
2026-03-15T22:49:09.056008Z
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
Database specific
{
    "versions": [
        {
            "introduced": "8.1.0"
        },
        {
            "fixed": "8.1.28"
        },
        {
            "introduced": "8.2.0"
        },
        {
            "fixed": "8.2.18"
        },
        {
            "introduced": "8.3.0"
        },
        {
            "fixed": "8.3.5"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3096.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "10.0"
            }
        ]
    }
]