---
cve: "CVE-2024-3096"
severity: "MEDIUM"
cvss: 6.5
epss: "1.5%"
vendor: "PHP Group"
kev: false
exploited: false
published: "2024-04-29 04:15:08"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-11T18:38:22+02:00"
---

# CVE-2024-3096

> 6.5 MEDIUM · 🧪 PoC

## Beschreibung

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-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Erforderlich | good |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Keine | good |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 9119509142637005d079bcc2815ee43ec1c79524 (Commit)
- d94fdf582e1fe4a1d85ded00a4c8b9935486c51d (Commit)

## Referenzen

- <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/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2024-3096) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
