HOMEVULNERABILITIESCVE-2017-16642
HIGHPOC

CVE-2017-16642

CWE-125Published: November 7, 2017· Updated: Jun 17, 2026

7.5
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2017-16642 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.

A successful exploit results in complete confidentiality breach (data exposure), with a CVSS base score of 7.5.

A proof-of-concept (PoC) exploit exists for CVE-2017-16642. While not yet confirmed in active campaigns, the availability of PoC code increases exploitation risk substantially.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.None
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityNone
AvailabilityNone
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected Vendors & Products

Canonical1 product(s)
ubuntu linux
Debian1 product(s)
debian linux
netapp2 product(s)
storage automation storeclustered data ontap
PHP1 product(s)
php
Source: NVD CPE · 6 total CPE entries

Exploit & PoC Resources

POC AVAILABLEProof-of-concept code exists
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (26)

http://php.net/ChangeLog-5.phpIssue Tracking · Release Notes · Vendor Advisory
http://php.net/ChangeLog-7.phpIssue Tracking · Release Notes · Vendor Advisory
http://www.securityfocus.com/bid/101745Third Party Advisory · VDB Entry
https://bugs.php.net/bug.php?id=75055Issue Tracking · Vendor Advisory
https://usn.ubuntu.com/3566-1/Third Party Advisory
https://www.exploit-db.com/exploits/43133/Exploit · Issue Tracking · Third Party Advisory · VDB Entry
http://php.net/ChangeLog-5.phpIssue Tracking · Release Notes · Vendor Advisory
http://php.net/ChangeLog-7.phpIssue Tracking · Release Notes · Vendor Advisory

Quick Facts

CVE IDCVE-2017-16642
CVSS Score7.5 / 10
SeverityHIGH
WeaknessCWE-125
CISA KEVNo
ExploitPOC
Affected4 vendor(s)
PublishedNov 7, 2017

Related CVEs (CWE-125)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2017-16642 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.