CVE-2023-0568

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2023-02-16 07:15

Updated : 2025-02-13 17:15


NVD link : CVE-2023-0568

Mitre link : CVE-2023-0568

CVE.ORG link : CVE-2023-0568


JSON object : View

Products Affected

php

  • php
CWE
CWE-131

Incorrect Calculation of Buffer Size

CWE-770

Allocation of Resources Without Limits or Throttling