CWE
189 119 190
Advisory Published
CVE Published
Updated

CVE-2013-7226: Buffer Overflow

First published: Thu Feb 13 2014(Updated: )

A heap overflow vulnerability in PHP 5.5.0 and later was reported [1] in PHP's imagecrop() function. In code that used the imagecrop() function to crop untrusted images, this vulnerability could cause a crash of the script or, possibly, the execution of arbitrary code as the user running the PHP script. This has been corrected in PHP 5.5.9 [2]. [1] <a href="https://bugs.php.net/bug.php?id=66356">https://bugs.php.net/bug.php?id=66356</a> [2] <a href="http://git.php.net/?p=php-src.git;a=commitdiff;h=8f4a5373bb71590352fd934028d6dde5bc18530b">http://git.php.net/?p=php-src.git;a=commitdiff;h=8f4a5373bb71590352fd934028d6dde5bc18530b</a> External References: <a href="http://www.php.net/ChangeLog-5.php#5.5.9">http://www.php.net/ChangeLog-5.php#5.5.9</a>

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/php<5.5.10
5.5.10
PHP=5.5.0-alpha1
PHP=5.5.0-alpha2
PHP=5.5.0-alpha3
PHP=5.5.0-alpha4
PHP=5.5.0-alpha5
PHP=5.5.0-alpha6
PHP=5.5.0-beta1
PHP=5.5.0-beta2
PHP=5.5.0-beta3
PHP=5.5.0-beta4
PHP=5.5.0-rc1
PHP=5.5.0-rc2
PHP=5.5.1
PHP=5.5.2
PHP=5.5.3
PHP=5.5.4
PHP=5.5.5
PHP=5.5.6
PHP=5.5.7
PHP=5.5.8

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.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2013-7226?

    CVE-2013-7226 is considered to have a high severity due to the potential for remote code execution or denial of service.

  • How do I fix CVE-2013-7226?

    To fix CVE-2013-7226, upgrade to PHP version 5.5.10 or later.

  • Which versions of PHP are affected by CVE-2013-7226?

    CVE-2013-7226 affects PHP versions 5.5.0 up to, but not including, 5.5.10.

  • What is the impact of exploiting CVE-2013-7226?

    Exploitation of CVE-2013-7226 could lead to a crash of the PHP script or the execution of arbitrary code.

  • What function in PHP is associated with CVE-2013-7226?

    CVE-2013-7226 is associated with the imagecrop() function in PHP.

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