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.
Published 2023-02-16 07:15:10
Updated 2025-02-13 17:15:56
Source PHP Group
View at NVD,   CVE.org

Products affected by CVE-2023-0568

  • PHP » PHP
    Versions from including (>=) 8.2.0 and before (<) 8.2.3
    cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
  • PHP » PHP
    Versions from including (>=) 8.0.0 and before (<) 8.0.28
    cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
  • PHP » PHP
    Versions from including (>=) 8.1.0 and before (<) 8.1.16
    cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

Threat overview for CVE-2023-0568

Top countries where our scanners detected CVE-2023-0568
Top open port discovered on systems with this issue 80
IPs affected by CVE-2023-0568 95,641
Threat actors abusing to this issue? Yes
Find out if you* are affected by CVE-2023-0568!
*Directly or indirectly through your vendors, service providers and 3rd parties. Powered by attack surface intelligence from SecurityScorecard.

Exploit prediction scoring system (EPSS) score for CVE-2023-0568

0.26%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 65 %
Percentile, the proportion of vulnerabilities that are scored at or less

CVSS scores for CVE-2023-0568

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
8.1
HIGH CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
2.2
5.9
NIST
7.5
HIGH CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
1.6
5.9
PHP Group
7.5
HIGH AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
N/A
N/A
Oracle:CPUOct2023

CWE ids for CVE-2023-0568

  • The product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.
    Assigned by: security@php.net (Secondary)
  • The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.
    Assigned by: nvd@nist.gov (Primary)

References for CVE-2023-0568

Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!