Live threats

All CVEs / Php

CVE-2023-0568Php

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
1.1%
probability of exploitation in 30 days · percentile 65
Auth required
No
Published
Feb 16, 2023
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-131, CWE-770
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, core path resolution function allocate buffer one byte too small. When resolving paths with lengths close to system MAXPATHLEN setting, this may lead to the byte after the allocated buffer being overwritten with NUL value, which might lead to unauthorized data access or modification.

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.0.0 < 8.0.28
phpphp≥ 8.1.0 < 8.1.16
phpphp≥ 8.2.0 < 8.2.3

Official sources

References

Links published by the sources. Open them with care.