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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 9 | php7.0 | 7.0.27-0+deb9u1 | DSA-4080-1 |
| Debian 8 | php5 | 5.6.33+dfsg-0+deb8u1 | DSA-4081-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | php7.0 | 7.0.25-0ubuntu0.16.04.1 | — |
| Ubuntu 14.04 LTS | php5 | 5.5.9+dfsg-1ubuntu4.23 | USN-3566-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 3 | rh-php70-php +29 | 7.0.27-1.el6 | RHSA-2018:1296 |
| RHEL 3 | rh-php71-php +27 | 7.1.30-1.el7 | RHSA-2019:2519 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | php5 | 5.5.14-109.13.1 | SUSE-SU-2017:3277-1 |
| SLES 12 SP3 | php7 | 7.0.7-50.23.1 | SUSE-SU-2017:3237-1 |
| SLES 12 SP2 | php5 | 5.5.14-109.13.1 | SUSE-SU-2017:3277-1 |
| SLES 12 SP2 | php7 | 7.0.7-50.23.1 | SUSE-SU-2017:3237-1 |
| SLES 12 | php5 | 5.5.14-109.13.1 | SUSE-SU-2017:3277-1 |
| SLES 12 | php7 | 7.0.7-50.23.1 | SUSE-SU-2017:3237-1 |
| SLES 11 SP4 | php53 | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 11 SP4 | php53 | 5.3.17-112.10.1 | SUSE-SU-2018:0003-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- PHP 7.1.8 - Heap Buffer Overflow EDB-43133 · dos · Nov 9, 2017 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 8
- RHSA-2019:2519 Red Hat Security Advisory: rh-php71-php security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2018:1296 Red Hat Security Advisory: rh-php70-php security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-3566-1 php5 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4080-1 php7.0 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-4081-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2017:3237-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0003-1 Security update for php53 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:3277-1 Security update for php5 SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://security.netapp.com/advisory/ntap-20181123-0001/
- 43133 exploit
- https://bugs.php.net/bug.php?id=75055
- RHSA-2018:1296 vendor-advisory
- http://php.net/ChangeLog-5.php
- 101745 vdb-entry
- DSA-4081 vendor-advisory
- DSA-4080 vendor-advisory
- USN-3566-1 vendor-advisory
- http://php.net/ChangeLog-7.php
- https://github.com/derickr/timelib/commit/aa9156006e88565e1f1a5f7cc088b18322d57536
- https://github.com/php/php-src/commit/5c0455bf2c8cd3c25401407f158e820aa3b239e1
- RHSA-2019:2519 vendor-advisory