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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-3345-1 php7.3 security update
Debian DSA Debian DSA DSA-5363-1 php7.4 security update
EUVD EUVD EUVD-2023-12610 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.
Ubuntu USN Ubuntu USN USN-5902-1 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-5905-1 PHP vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 18 Mar 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 13 Feb 2025 16:45:00 +0000

Type Values Removed Values Added
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.  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.

cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2025-03-18T14:57:10.966Z

Reserved: 2023-01-29T07:46:39.833Z

Link: CVE-2023-0568

cve-icon Vulnrichment

Updated: 2024-08-02T05:17:49.834Z

cve-icon NVD

Status : Modified

Published: 2023-02-16T07:15:10.327

Modified: 2025-02-13T17:15:55.913

Link: CVE-2023-0568

cve-icon Redhat

Severity : Moderate

Publid Date: 2023-02-15T00:00:00Z

Links: CVE-2023-0568 - Bugzilla

cve-icon OpenCVE Enrichment

No data.