CVE-2017-16642
Reported by mitre · Published November 7, 2017
In PHP before 5.6.32, 7.x before 7.0.25, and 7.1.x before 7.1.11, an error in the date extension's timelib_meridian handling of 'front of' and 'back of' directives 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: this is a different issue than CVE-2017-11145.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php | php | 7.1.11, 7.0.25, 5.6.32 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Nov 7, 2017 CVE Published
- Nov 15, 2017 PoC Published (2 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 6, 2026 Security Advisory (6 in total, the first dated here)
- Oct 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-16642
vulnetix vdb fixes CVE-2017-16642
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-16642/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- 43133 exploitx_refsource_EXPLOIT-DB
- x_refsource_CONFIRM
- RHSA-2018:1296 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- 101745 vdb-entryx_refsource_BID
- DSA-4081 vendor-advisoryx_refsource_DEBIAN
- DSA-4080 vendor-advisoryx_refsource_DEBIAN
- USN-3566-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- RHSA-2019:2519 vendor-advisoryx_refsource_REDHAT