CVE-2017-16642

Public Exploit

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.

Category

7.5
CVSS
Severity: High
CVSS 3.0 •
CVSS 2.0 •
EPSS 4.42% Top 15%
Vendor Advisory redhat.com Vendor Advisory debian.org Vendor Advisory debian.org Vendor Advisory ubuntu.com Vendor Advisory redhat.com Vendor Advisory php.net Vendor Advisory php.net Vendor Advisory php.net
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
https://security.netapp.com/advisory/ntap-20181123-0001/ third party advisory
https://www.exploit-db.com/exploits/43133/ third party advisory issue tracking vdb entry exploit
https://bugs.php.net/bug.php?id=75055 issue tracking vendor advisory
https://access.redhat.com/errata/RHSA-2018:1296 vendor advisory third party advisory
http://php.net/ChangeLog-5.php issue tracking vendor advisory release notes
http://www.securityfocus.com/bid/101745 vdb entry third party advisory
https://www.debian.org/security/2018/dsa-4081 vendor advisory third party advisory
https://www.debian.org/security/2018/dsa-4080 vendor advisory third party advisory
https://usn.ubuntu.com/3566-1/ vendor advisory third party advisory
http://php.net/ChangeLog-7.php issue tracking vendor advisory release notes
https://github.com/derickr/timelib/commit/aa9156006e88565e1f1a5f7cc088b18322d57536 issue tracking patch third party advisory
https://github.com/php/php-src/commit/5c0455bf2c8cd3c25401407f158e820aa3b239e1 issue tracking patch third party advisory
https://access.redhat.com/errata/RHSA-2019:2519 vendor advisory

Frequently Asked Questions

What is the severity of CVE-2017-16642?
CVE-2017-16642 has been scored as a high severity vulnerability.
How to fix CVE-2017-16642?
To fix CVE-2017-16642, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2017-16642 being actively exploited in the wild?
It is possible that CVE-2017-16642 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~4% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.