{"api_version":"1","generated_at":"2026-07-23T08:06:46+00:00","cve":"CVE-2017-16642","urls":{"html":"https://cve.report/CVE-2017-16642","api":"https://cve.report/api/cve/CVE-2017-16642.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-16642","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-16642"},"summary":{"title":"CVE-2017-16642","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.","state":"PUBLISHED","assigner":"mitre","published_at":"2017-11-07 21:29:00","updated_at":"2025-04-20 01:37:25"},"problem_types":["CWE-125","n/a"],"metrics":[{"version":"3.0","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","data":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"}}],"references":[{"url":"https://www.exploit-db.com/exploits/43133/","name":"https://www.exploit-db.com/exploits/43133/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Issue Tracking","Third Party Advisory","VDB Entry"],"title":"PHP 7.1.8 - Heap Buffer Overflow","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.netapp.com/advisory/ntap-20181123-0001/","name":"https://security.netapp.com/advisory/ntap-20181123-0001/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"CVE-2017-16642 PHP Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.php.net/bug.php?id=75055","name":"https://bugs.php.net/bug.php?id=75055","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Vendor Advisory"],"title":"PHP :: Sec Bug #75055 :: Out-Of-Bounds Read in timelib_meridian()","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2018:1296","name":"https://access.redhat.com/errata/RHSA-2018:1296","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/3566-1/","name":"https://usn.ubuntu.com/3566-1/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"USN-3566-1: PHP vulnerabilities | Ubuntu security notices","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.debian.org/security/2018/dsa-4080","name":"https://www.debian.org/security/2018/dsa-4080","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-4080-1 php7.0","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/derickr/timelib/commit/aa9156006e88565e1f1a5f7cc088b18322d57536","name":"https://github.com/derickr/timelib/commit/aa9156006e88565e1f1a5f7cc088b18322d57536","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"Fix parser rule for 'backof' and 'frontof' · derickr/timelib@aa91560 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.debian.org/security/2018/dsa-4081","name":"https://www.debian.org/security/2018/dsa-4081","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-4081-1 php5","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://php.net/ChangeLog-7.php","name":"http://php.net/ChangeLog-7.php","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Release Notes","Vendor Advisory"],"title":"PHP: PHP 7 ChangeLog","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/php/php-src/commit/5c0455bf2c8cd3c25401407f158e820aa3b239e1","name":"https://github.com/php/php-src/commit/5c0455bf2c8cd3c25401407f158e820aa3b239e1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"Merge branch 'PHP-7.0' into PHP-7.1 · php/php-src@5c0455b · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2019:2519","name":"https://access.redhat.com/errata/RHSA-2019:2519","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://php.net/ChangeLog-5.php","name":"http://php.net/ChangeLog-5.php","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Release Notes","Vendor Advisory"],"title":"PHP: PHP 5 ChangeLog","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/101745","name":"http://www.securityfocus.com/bid/101745","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"PHP CVE-2017-16642 Heap Based Buffer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-16642","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16642","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"16642","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-05T20:27:04.310Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://security.netapp.com/advisory/ntap-20181123-0001/"},{"name":"43133","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"],"url":"https://www.exploit-db.com/exploits/43133/"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugs.php.net/bug.php?id=75055"},{"name":"RHSA-2018:1296","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"https://access.redhat.com/errata/RHSA-2018:1296"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://php.net/ChangeLog-5.php"},{"name":"101745","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/101745"},{"name":"DSA-4081","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"https://www.debian.org/security/2018/dsa-4081"},{"name":"DSA-4080","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"https://www.debian.org/security/2018/dsa-4080"},{"name":"USN-3566-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"https://usn.ubuntu.com/3566-1/"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://php.net/ChangeLog-7.php"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/derickr/timelib/commit/aa9156006e88565e1f1a5f7cc088b18322d57536"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/php/php-src/commit/5c0455bf2c8cd3c25401407f158e820aa3b239e1"},{"name":"RHSA-2019:2519","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"https://access.redhat.com/errata/RHSA-2019:2519"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2017-11-07T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2019-08-19T10:06:08.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://security.netapp.com/advisory/ntap-20181123-0001/"},{"name":"43133","tags":["exploit","x_refsource_EXPLOIT-DB"],"url":"https://www.exploit-db.com/exploits/43133/"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugs.php.net/bug.php?id=75055"},{"name":"RHSA-2018:1296","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"https://access.redhat.com/errata/RHSA-2018:1296"},{"tags":["x_refsource_CONFIRM"],"url":"http://php.net/ChangeLog-5.php"},{"name":"101745","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/101745"},{"name":"DSA-4081","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"https://www.debian.org/security/2018/dsa-4081"},{"name":"DSA-4080","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"https://www.debian.org/security/2018/dsa-4080"},{"name":"USN-3566-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"https://usn.ubuntu.com/3566-1/"},{"tags":["x_refsource_CONFIRM"],"url":"http://php.net/ChangeLog-7.php"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/derickr/timelib/commit/aa9156006e88565e1f1a5f7cc088b18322d57536"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/php/php-src/commit/5c0455bf2c8cd3c25401407f158e820aa3b239e1"},{"name":"RHSA-2019:2519","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"https://access.redhat.com/errata/RHSA-2019:2519"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-16642","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://security.netapp.com/advisory/ntap-20181123-0001/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20181123-0001/"},{"name":"43133","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/43133/"},{"name":"https://bugs.php.net/bug.php?id=75055","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=75055"},{"name":"RHSA-2018:1296","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:1296"},{"name":"http://php.net/ChangeLog-5.php","refsource":"CONFIRM","url":"http://php.net/ChangeLog-5.php"},{"name":"101745","refsource":"BID","url":"http://www.securityfocus.com/bid/101745"},{"name":"DSA-4081","refsource":"DEBIAN","url":"https://www.debian.org/security/2018/dsa-4081"},{"name":"DSA-4080","refsource":"DEBIAN","url":"https://www.debian.org/security/2018/dsa-4080"},{"name":"USN-3566-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3566-1/"},{"name":"http://php.net/ChangeLog-7.php","refsource":"CONFIRM","url":"http://php.net/ChangeLog-7.php"},{"name":"https://github.com/derickr/timelib/commit/aa9156006e88565e1f1a5f7cc088b18322d57536","refsource":"CONFIRM","url":"https://github.com/derickr/timelib/commit/aa9156006e88565e1f1a5f7cc088b18322d57536"},{"name":"https://github.com/php/php-src/commit/5c0455bf2c8cd3c25401407f158e820aa3b239e1","refsource":"CONFIRM","url":"https://github.com/php/php-src/commit/5c0455bf2c8cd3c25401407f158e820aa3b239e1"},{"name":"RHSA-2019:2519","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:2519"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2017-16642","datePublished":"2017-11-07T21:00:00.000Z","dateReserved":"2017-11-07T00:00:00.000Z","dateUpdated":"2024-08-05T20:27:04.310Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2017-11-07 21:29:00","lastModifiedDate":"2025-04-20 01:37:25","problem_types":["CWE-125","n/a"],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionEndExcluding":"5.6.32","matchCriteriaId":"6029D86B-258B-4BCB-A7F4-2D8AAB6BF986"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0.0","versionEndExcluding":"7.0.25","matchCriteriaId":"6FED5332-FB60-4EC7-9018-14E7DE0FF72E"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1.0","versionEndExcluding":"7.1.11","matchCriteriaId":"52497E39-05A7-4C19-96FF-27449D146E3B"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","matchCriteriaId":"C11E6FB0-C8C0-4527-9AA0-CB9B316F8F43"},{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","matchCriteriaId":"DEECE5FC-CACF-4496-A3E7-164736409252"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","matchCriteriaId":"B5A6F2F3-4894-4392-8296-3B8DD2679084"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:netapp:storage_automation_store:-:*:*:*:*:*:*:*","matchCriteriaId":"7B7A6697-98CC-4E36-93DB-B7160F8399F9"},{"vulnerable":true,"criteria":"cpe:2.3:o:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*","matchCriteriaId":"1FED6CAE-D97F-49E0-9D00-1642A3A427B4"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"16642","Ordinal":"1","Title":"CVE-2017-16642","CVE":"CVE-2017-16642","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"16642","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2017-16642"},{"CveYear":"2017","CveId":"16642","Ordinal":"2","NoteData":"2017-11-07","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"16642","Ordinal":"3","NoteData":"2019-08-19","Type":"Other","Title":"Modified"}]}}}