CVE-2023-0568: Array overrun in common path resolve code

Published Feb 14, 2023
·
Updated

Fixed bug (1-byte array overrun in common path resolve code). (CVE-2023-0568)

Other sources

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.

Launchpad

Affected Software

11 affected componentsFixes available
PHP PHP>=8.0.0<8.0.28
PHP PHP>=8.1.0<8.1.16
PHP PHP>=8.2.0<8.2.3
PHP PHP<8.2.3
8.2.3
debian/php7.4
7.4.33-1+deb11u57.4.33-1+deb11u8
debian/php8.2
8.2.26-1~deb12u18.2.28-1~deb12u1
F5 BIG-IP=17.5.0, >=17.1.0<=17.1.2
17.5.117.1.3
F5 BIG-IP>=16.1.0<=16.1.6
F5 BIG-IP>=15.1.0<=15.1.10
F5 BIG-IP>=14.1.0<=14.1.5
F5 BIG-IP>=13.1.0<=13.1.5

Remediation

Event History

Feb 14, 2023
CVE Published
via PHP·12:00 AM
Feb 16, 2023
CVE Published
via MITRE·06:34 AM
Data Sourced
via MITRE·06:34 AM
DescriptionSeverityWeakness
Feb 17, 2023
Data Sourced
via Red Hat·08:31 AM
DescriptionSeverityAffected Software
May 23, 2023
Advisory Published
via F5·06:48 PM
Data Sourced
via F5·06:48 PM
DescriptionSeverityWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·06:03 PM
Description
Sep 20, 2024
Data Sourced
via Ubuntu·06:41 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2023-0568?

CVE-2023-0568 is a vulnerability in PHP that caused a 1-byte array overrun in common path resolve code.

2

How severe is CVE-2023-0568?

CVE-2023-0568 has a severity rating of <severity rating>.

3

How can I fix CVE-2023-0568?

To fix CVE-2023-0568, you need to update your PHP installation to version 8.2.3 or later.

4

Is there a reference to learn more about CVE-2023-0568?

Yes, you can find more information about CVE-2023-0568 in the PHP ChangeLog for version 8.2.3.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203