CVE-2017-16642: 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'…
Noroxi assessment
Priority: Monitor (action score 38/100)
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 26.3% (FIRST EPSS); higher than 98% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: php5 (Debian:8) 5.6.33+dfsg-0+deb8u1; php7.0 (Debian:9) 7.0.27-0+deb9u1; rh-php71-php (Red Hat:rhel_software_collections:3::el7) 0:7.1.30-1.el7.
Low priority for now. Upgrade to php5 (Debian:8) 5.6.33+dfsg-0+deb8u1; php7.0 (Debian:9) 7.0.27-0+deb9u1; rh-php71-php (Red Hat:rhel_software_collections:3::el7) 0:7.1.30-1.el7 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Nov 7, 2017
- Updated
- Jun 16, 2026
- EPSS
- 26.3% · 98th percentile
- CWE
- CWE-125
Report tools
Action score
38
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 8 / 30 · 26.3%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| php | php | cpe:2.3:a:php:php |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| netapp | storage automation store | cpe:2.3:a:netapp:storage_automation_store |
| netapp | clustered data ontap | cpe:2.3:o:netapp:clustered_data_ontap |
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php phpbefore 5.6.32
- php php7.0.0 and later · before 7.0.25
- php php7.1.0 and later · before 7.1.11
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:8 | php5 | before 5.6.33+dfsg-0+deb8u1 | 5.6.33+dfsg-0+deb8u1 |
| Debian:9 | php7.0 | before 7.0.27-0+deb9u1 | 7.0.27-0+deb9u1 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-bcmath | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-cli | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-common | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-dba | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-dbg | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-debuginfo | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-devel | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-embedded | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-enchant | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-fpm | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-gd | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-gmp | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-intl | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-json | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-ldap | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-mbstring | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-mysqlnd | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-odbc | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-opcache | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-pdo | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php71-php-pgsql | before 0:7.1.30-1.el7 | 0:7.1.30-1.el7 |
+11
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle…KEV99Now
Published before and after this one in the same product
- ← EarlierCVE-2017-12933Aug 17, 2017 · The finish_nested_data function in ext/standard/var_unserializer.re in PHP before 5.6.31, 7.0.x before 7.0.21, and 7.1.x before 7.1.7 is…41Plan
- ← EarlierCVE-2017-12934Aug 17, 2017 · ext/standard/var_unserializer.re in PHP 7.0.x before 7.0.21 and 7.1.x before 7.1.7 is prone to a heap use after free while unserializing…31Monitor
- Later →CVE-2018-5711Jan 16, 2018 · gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x…26Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:php5 | 5.6.33+dfsg-0+deb8u1 · Debian:8 | Package registry (OSV) |
| debian:php7.0 | 7.0.27-0+deb9u1 · Debian:9 | Package registry (OSV) |
| red hat:rh-php71-php | 0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php71-php-bcmath | 0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php71-php-cli | 0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php71-php-common | 0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php71-php-dba | 0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php71-php-dbg | 0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php71-php-debuginfo | 0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php71-php-devel | 0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php71-php-embedded | 0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php71-php-enchant | 0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php71-php-fpm | 0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-php71-php-gd | 0:7.1.30-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| suse:php5 | 5.5.14-109.13.1 · SUSE:Linux Enterprise Module for Web and Scripting 12 | Package registry (OSV) |
| suse:php53 | 5.3.17-112.10.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4 | Package registry (OSV) |
| suse:php7 | 7.0.7-50.23.1 · SUSE:Linux Enterprise Module for Web and Scripting 12 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | dos | 2017-11-09 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+1 d
- TodayNov 16, 2026+3295 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-125 · Out-of-bounds ReadCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (11 more)Show less
- php.net/ChangeLog-7.php
- www.securityfocus.com/bid/101745
- access.redhat.com/errata/RHSA-2018:1296
- access.redhat.com/errata/RHSA-2019:2519
- bugs.php.net/bug.php?id=75055
- github.com/derickr/timelib/commit/aa9156006e88565e1f1a5f7cc088b18322d57536
- github.com/php/php-src/commit/5c0455bf2c8cd3c25401407f158e820aa3b239e1
- security.netapp.com/advisory/ntap-20181123-0001/
- usn.ubuntu.com/3566-1/
- www.debian.org/security/2018/dsa-4080
- www.debian.org/security/2018/dsa-4081
Vendor advisories and official records. Exploit/PoC links are deliberately left out.