HighFix available
php8.2 — security advisory
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.
- Products
- php8.2
- Affected versions
- Not specified
- Fixed versions
- 8.2.4-1
- CVEs
- CVE-2023-0568
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 15:38 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2023-0568
php8.2
Fixed versions: 8.2.4-1
Complete source record
{
"id": "d4c21c3d104ae2ae85b1118b2c02fe50fc10ea63c1b36d25eea57b02ce445ff2",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-0568",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2023-0568",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2023-0568",
"products": [
{
"name": {
"value": "php8.2",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.2.4-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2023-0568",
"aliases": [
"DEBIAN-CVE-2023-0568"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "8.2.4-1"
}
]
}
],
"package": {
"name": "php8.2",
"purl": "pkg:deb/debian/php8.2?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-0568.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T18:01:17.911125033Z",
"provider": "osv",
"upstream": [
"CVE-2023-0568"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2023-0568"
]
},
"related_cves": [
{
"value": "CVE-2023-0568",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 455433,
"published_at": "2023-02-16T07:15:10.327+00:00"
}