CVE-2016-7398: Incorrect Type Cast

Published Sep 6, 2019
·
Updated

A type confusion vulnerability in the mergeparam() function of phphttpparams.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.

Affected Software

10 affected components
PHP Ext-http<=2.5.6
PHP Ext-http>=3.0.0<=3.0.1
PHP Ext-http=2.6.0
PHP Ext-http=2.6.0-beta1
PHP Ext-http=2.6.0-beta2
PHP Ext-http=2.6.0-rc1
PHP Ext-http=3.1.0
PHP Ext-http=3.1.0-beta1
PHP Ext-http=3.1.0-beta2
PHP Ext-http=3.1.0-rc1

Event History

Sep 6, 2019
CVE Published
via MITRE·06:46 PM
Data Sourced
via MITRE·06:46 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-7398?

CVE-2016-7398 is considered a high severity vulnerability due to its potential to allow arbitrary code execution and crashes in PHP.

2

How do I fix CVE-2016-7398?

To fix CVE-2016-7398, update to PECL HTTP extension version 3.1.0 or later for PHP 7, and version 2.5.6 or later for PHP 5.

3

What software is affected by CVE-2016-7398?

CVE-2016-7398 affects PECL HTTP extension versions prior to 3.1.0 for PHP 7 and versions prior to 2.5.6 for PHP 5.

4

Can CVE-2016-7398 be exploited remotely?

Yes, CVE-2016-7398 can be exploited remotely through crafted HTTP requests.

5

Is CVE-2016-7398 patched in later versions?

Yes, CVE-2016-7398 has been patched in subsequent releases of the PECL HTTP extension.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203