CVE-2017-16642
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'…
- 7.5HighCVSS base score
- 26.4%Exploitation in 30 daysEPSS · top 2.0% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
Description
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it. A reference of the record is tagged as an exploit.
Show the exploits2
Exploit-DB1 entry
- PHP 7.1.8 - Heap Buffer Overflow (Exploit-DB entry) (opens in a new tab)
EDB-ID 43133dos, multiplepublished 9 Nov 2017Verified
References tagged exploit1 reference
- 43133 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
Published
- 7 years later
· 7 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 26.4% · top 2.0% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
n/a
- affected n/a
References
13
- https://security.netapp.com/advisory/ntap-20181123-0001/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- 43133 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- https://bugs.php.net/bug.php?id=75055 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:1296 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://php.net/ChangeLog-5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- 101745 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- DSA-4081 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- DSA-4080 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- USN-3566-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- http://php.net/ChangeLog-7.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/derickr/timelib/commit/aa9156006e88565e1f1a5f7cc088b18322d57536 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/php/php-src/commit/5c0455bf2c8cd3c25401407f158e820aa3b239e1 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2019:2519 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2017-7829 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2017-16642)Record last updated .