CVE-2023-0568
No exploitation reported by the sources we read.
- Published2023-02-16
- Fixed in8.2.3 · 8.1.16 · 8.0.28
- WeaknessCWE-131 · CWE-770
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2023-02-1607:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.2 | ≥ 8.2.0, < 8.2.3 | 8.2.3 | NVD · OSV |
| 8.1 | ≥ 8.1.0, < 8.1.16 | 8.1.16 | NVD · OSV |
| 8.0 | ≥ 8.0.0, < 8.0.28 | 8.0.28 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As php, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- PHP Group PHPother versions: affected
https://github.com/php/php-src
Affected- ≥ 8.0.x, < 8.0.28fixed in 8.0.28semver
- ≥ 8.1.x, < 8.1.16fixed in 8.1.16semver
- ≥ 8.2.x, < 8.2.3fixed in 8.2.3semver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-05-17
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libzipRocky Linux:8all versions · fixed in 0:1.7.3-1.module+el8.6.0+790+fc63e43f
- libzipRocky Linux:8all versions · fixed in 0:1.6.1-1.module+el8.10.0+1604+6558efc7
- libzipRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:1.7.3-1.module+el8.6.0+13671+84712317and 5 other packages
- libzipRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:1.6.1-1.module+el8.10.0+22485+a3539972and 5 other packages
- libzipAlmaLinux:8all versions · fixed in 1.6.1-1.module_el8.10.0+3935+28808425and 2 other packages
- libzipAlmaLinux:8all versions · fixed in 1.6.1-1.module_el8.6.0+2750+78feabcband 1 other package
- libzipAlmaLinux:8all versions · fixed in 1.6.1-1.module_el8.6.0+3239+bedf0508and 2 other packages
- libzipAlmaLinux:8all versions · fixed in 1.7.3-1.module_el8.6.0+2739+efabdb8fand 2 other packages
127 more package ranges on OSV.dev
Vendor advisories
php: 1-byte array overrun in common path resolve code
php as a component of Red Hat Enterprise Linux 6 · php-bcmath as a component of Red Hat Enterprise Linux 6 · php-cli as a component of Red Hat Enterprise Linux 6 · +98 more
Red Hat Security Advisory: php:7.4 security update
Festo Didactic SE MES PC
Festo Didactic SE MES PC shipped with Windows 10
Siemens SCALANCE XCM-/XRM-300
SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2) · +8 more
SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4
SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2) · +8 more
Red Hat Security Advisory: php:8.1 security update
2 more advisories
Fix
- Update PHP to 8.2.3 · 8.1.16 · 8.0.28
- Vendor fix Red Hat Product Security RHSA-2024:10952 · 301 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix CISA ICSA-26-027-02 · 1 productFesto Didactic has released Factory Control Panel as a replacement for XAMPP on its MES PCs. Contact technical support at services.didactic@festo.com to obtain the current version of Factory Control Panel which includes fixes for these vulnerabilities.
- Vendor fix CISA ICSA-24-046-11 · 10 productsUpdate to V2.4 or later version
- Vendor fix Siemens ProductCERT SSA-806742 · 10 productsUpdate to V2.4 or later version
- Vendor fix Red Hat Product Security RHSA-2024:0387 · 258 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated packages, the httpd daemon must be restarted for the update to take effect.
- No fix planned, says the vendor Red Hat Product Security CVE-2023-0568 · 54 productsOut of support scope
Advisories and patches
- bugs.php.netPatch · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2025-03-18
- CNACVSS 3.17.5known since 2026-10-23
- NVDCVSS 3.18.1read 2026-10-23
- CNAweakness (CWE)CWE-131known since 2026-10-23
- NVDweakness (CWE)CWE-770read 2026-10-23
- FIRST EPSSEPSS score1.2 %2026-11-18
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-13587same flawAzure Linux · MIT
- AZL-63073same flawAzure Linux · MIT
- BIT-libphp-2023-0568same flawBitnami · Apache-2.0
- BIT-php-2023-0568same flawBitnami · Apache-2.0
- BIT-php-min-2023-0568same flawBitnami · Apache-2.0
- EUVD-2023-12610same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-6gqv-38q3-6c47same flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2023:5926advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:5927advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:0387advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:10952advisory covering several CVEsAlmaLinux · MIT
- DLA-3345-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5363-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2023-0065advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2023-1619advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1620advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1621advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1622advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:12711-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2023:5926advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:5927advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:0387advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:10952advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2023:5926advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2023:5927advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2024:0387advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2024:10952advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2023:0476-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:0513-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:0514-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:0515-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:0527-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5902-1advisory covering several CVEsUbuntu
- USN-5905-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2023-02-16
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-6gqv-38q3-6c47
Frequently asked questions
What is CVE-2023-0568?
Is CVE-2023-0568 actively exploited?
What is the CVSS score for CVE-2023-0568?
Running PHP? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-6gqv-38q3-6c47
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0