CVE-2023-0568

Array overrun in common path resolve code

HIGH
8.1
CVSS Score
Published: February 16, 2023 at 06:34 AM UTC
Updated: June 17, 2026 at 05:25 AM UTC
1 product affected across 1 vendorPHP

Using PHP by PHP Group?

Get instant alerts when new vulnerabilities affect PHP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.1
Exploit prediction
EPSS 1%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
8.0.0 ≤ v < 8.0.288.0.x ≤ v < 8.0.288.1.0 ≤ v < 8.1.168.1.x ≤ v < 8.1.168.2.0 ≤ v < 8.2.38.2.x ≤ v < 8.2.38.0.x8.1.x8.2.x
Affected range stops below 8.0.28, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.1.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.2.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-131CWE-770

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card