CWE
704
Advisory Published
Updated

CVE-2016-7398: Incorrect Type Cast

First published: Fri Sep 06 2019(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
PECL HTTP<=2.5.6
PECL HTTP>=3.0.0<=3.0.1
PECL HTTP=2.6.0
PECL HTTP=2.6.0-beta1
PECL HTTP=2.6.0-beta2
PECL HTTP=2.6.0-rc1
PECL HTTP=3.1.0
PECL HTTP=3.1.0-beta1
PECL HTTP=3.1.0-beta2
PECL HTTP=3.1.0-rc1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • Can CVE-2016-7398 be exploited remotely?

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203