CVE-2016-7398: php ext-http Incorrect Type Conversion or Cast
Vulnerability summary
CVE-2016-7398 is a critical (CVSS 9.8) Incorrect Type Conversion or Cast vulnerability in php ext-http. EPSS estimates a 6.80% chance of exploitation in the next 30 days, higher than 93.9% of scored vulnerabilities. 2 public exploits are recorded.
Timeline
- 06-09-2019PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
A type confusion vulnerability in the merge_param() function of php_http_params.c in PHP's pecl-http extension 3.1.0beta2 (PHP 7) and earlier as well as 2.6.0beta2 (PHP 5) and earlier allows attackers to crash PHP and possibly execute arbitrary code via crafted HTTP requests.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
6.80%
Chance of exploitation in the next 30 days
Percentile
94%
Versus all other CVEs
30-day change
0.00 pp
From 6.80% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (bugs.php.net)
Maturity: unknown
Exploit Reference (bugs.php.net)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Debian1 product
- php-pecl-http< 3.1.0+2.6.0-1 | < 2.0.4-1+deb8u1
Php1 product
- ext-http≤ 2.5.6 | ≥ 3.0.0, ≤ 3.0.1 | 2.6.0 | 2.6.0:beta1 | 2.6.0:beta2 | 2.6.0:rc1 | 3.1.0 | 3.1.0:beta1 | 3.1.0:beta2 | 3.1.0:rc1
Ubuntu1 product
- php-pecl-httpAll versions (No fix recorded)
3 vendors · 3 products
References
7 links- github.com/m6w6/ext-http/commit/17137d4ab1ce81a2cee0fae842340a344ef3da83X Refsource MISCPatchThird Party AdvisoryREPORT