CVE-2017-16642PHP Out-of-Bounds Read
php: Out-of-bound read in timelib_meridian()
Published Nov 7, 2017 · Updated Aug 7, 2026 · Also known as SUSE-SU-2017:3237-1, SUSE-SU-2018:0003-1, UBUNTU-CVE-2017-16642
Key Facts
Patch immediately- CVE-2017-16642 is a high-severity vulnerability (CVSS 7.5 v3.1) affecting Storage Automation Store (Netapp), PHP, Ubuntu Linux (Canonical) and 22 more products.
- It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 26% probability of exploitation in the next 30 days.
- Fixed versions are available, including apache2-mod_php5 5.5.14-109.13.1, apache2-mod_php5 5.5.14-88.1, apache2-mod_php53 5.3.17-112.10.1.
- Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Scores
CVSS v3.1
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS (30-day exploit likelihood)
26%
Higher than 97.9% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
45/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
2
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://ubuntu.com/security/CVE-2017-16642
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2017-16642
- advisoryhttp://php.net/ChangeLog-5.php
- advisoryhttp://php.net/ChangeLog-7.php
- advisoryRHSA-2018:1296
- advisoryRHSA-2019:2519
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.
Affected Products
459 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Storage Automation StoreNetapp | See advisory | n/a |
| PHPPHP | See advisory | 5.6.32 |
| Ubuntu LinuxCanonical | 14.04 | n/a |
| Debian LinuxDebian | 8.0, 9.0 | n/a |
| Clustered Data OntapNetapp | See advisory | n/a |
Patched Releases
apache2-mod_php5
5.5.14-109.13.1, 5.5.14-88.1
apache2-mod_php53
5.3.17-112.10.1
apache2-mod_php7
7.0.7-25.1, 7.0.7-50.23.1
PHP
5.6.32
php5
5.5.14-109.13.1, 5.5.14-88.1, 5.5.9+dfsg-1ubuntu4.23, 5.6.33+dfsg-0+deb8u1
php5-bcmath
5.5.14-109.13.1, 5.5.14-88.1
php5-bz2
5.5.14-109.13.1, 5.5.14-88.1
php5-calendar
5.5.14-109.13.1, 5.5.14-88.1
php5-ctype
5.5.14-109.13.1, 5.5.14-88.1
php5-curl
5.5.14-109.13.1, 5.5.14-88.1
php5-dba
5.5.14-109.13.1, 5.5.14-88.1
php5-devel
5.5.14-109.13.1, 5.5.14-88.1
php5-dom
5.5.14-109.13.1, 5.5.14-88.1
php5-enchant
5.5.14-109.13.1, 5.5.14-88.1
php5-exif
5.5.14-109.13.1, 5.5.14-88.1
php5-fastcgi
5.5.14-109.13.1, 5.5.14-88.1
php5-fileinfo
5.5.14-109.13.1, 5.5.14-88.1
php5-firebird
5.5.14-88.1
php5-fpm
5.5.14-109.13.1, 5.5.14-88.1
php5-ftp
5.5.14-109.13.1, 5.5.14-88.1
php5-gd
5.5.14-109.13.1, 5.5.14-88.1
php5-gettext
5.5.14-109.13.1, 5.5.14-88.1
php5-gmp
5.5.14-109.13.1, 5.5.14-88.1
php5-iconv
5.5.14-109.13.1, 5.5.14-88.1
php5-imap
5.5.14-109.13.1, 5.5.14-88.1
Timeline
Publicly disclosed
Nov 7, 2017
Last updated
Aug 7, 2026
Weakness Type
- CWE-125 Out-of-bounds Read
References
- advisoryubuntu.com · CVE-2017-16642
- advisorycve.org · CVERecord
- advisoryphp.net · ChangeLog-5.php
- advisoryphp.net · ChangeLog-7.php
- advisoryRHSA-2018:1296
FAQ
Common Questions.
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 a…
Affected: Storage Automation Store (Netapp); PHP; Ubuntu Linux (Canonical) versions 14.04, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including apache2-mod_php5 5.5.14-109.13.1, apache2-mod_php5 5.5.14-88.1, apache2-mod_php53 5.3.17-112.10.1.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Is CVE-2017-16642 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo