An issue was discovered in ext/standard/link_win32.c in PHP before 5.6.37, 7.0.x before 7.0.31, 7.1.x before 7.1.20, and 7.2.x before 7.2.8. The linkinfo function on Windows doesn't implement the open_basedir check. This could be abused to find files on paths outside of the allowed directories.
{
"cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "5.6.37"
},
{
"introduced": "7.0.0"
},
{
"fixed": "7.0.31"
},
{
"introduced": "7.1.0"
},
{
"fixed": "7.1.20"
},
{
"introduced": "7.2.0"
},
{
"fixed": "7.2.8"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-15132.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "220839560800956806208306563125284300441",
"length": 336
},
"id": "CVE-2018-15132-168c6b48",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/php/php-src/commit/f151e048ed27f6f4eef729f3310d053ab5da71d4",
"target": {
"file": "ext/standard/link_win32.c",
"function": "PHP_FUNCTION"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"212981070074641104509450091836034142668",
"88395583671409793582864696691747015255",
"135003533747648975021546284778785516302",
"35499557418267422634095220243727042900",
"117851673981305499478844129398245467257",
"305333203988229800397156101482248605558",
"81910444167263063639751966488804618110",
"74540981037737713416730411259175941424",
"40995403751221392183520592881069357352",
"6280604222098253175767719674684668033",
"301255860765288804387653980432627650299",
"288880281421390955004434485443976198059"
],
"threshold": 0.9
},
"id": "CVE-2018-15132-dcccf7e0",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/php/php-src/commit/f151e048ed27f6f4eef729f3310d053ab5da71d4",
"target": {
"file": "ext/standard/link_win32.c"
}
}
]
"2026-08-07T14:58:23Z"