CVE-2013-7226
What it is
Integer overflow in the gdImageCrop function in ext/gd/gd.c in PHP 5.5.x before 5.5.9 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via an imagecrop function call with a large x dimension value, leading to a heap-based buffer overflow.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 6.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 6.7% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 6.7% · EPSS, next 30 days
- Weakness
- CWE-189
- Record status
- Modified
Affected
- PHP 5.5.0
- 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
Attack profile CVSS 2.0 · 6.8
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2013-7226.md and follow it. Check whether this project is affected by CVE-2013-7226. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.php.net/ChangeLog-5.php
- https://bugs.php.net/bug.php?id=66356
- https://github.com/php/php-src/commit/2938329ce19cb8c4197dec146c3ec887c6f61d01
- http://www.php.net/ChangeLog-5.php
- https://bugs.php.net/bug.php?id=66356
- https://github.com/php/php-src/commit/2938329ce19cb8c4197dec146c3ec887c6f61d01
References
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=8f4a5373bb71590352fd934028d6dde5bc18530b
- http://secunia.com/advisories/56829
- http://www.mandriva.com/security/advisories?name=MDVSA-2014:027
- http://www.php.net/ChangeLog-5.php
- http://www.securityfocus.com/bid/65533
- http://www.securitytracker.com/id/1029767
- http://www.ubuntu.com/usn/USN-2126-1
- https://bugs.php.net/bug.php?id=66356
- https://bugzilla.redhat.com/show_bug.cgi?id=1065108
- https://exchange.xforce.ibmcloud.com/vulnerabilities/91099
- https://github.com/php/php-src/commit/2938329ce19cb8c4197dec146c3ec887c6f61d01
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=8f4a5373bb71590352fd934028d6dde5bc18530b
- http://secunia.com/advisories/56829
- http://www.mandriva.com/security/advisories?name=MDVSA-2014:027
- http://www.php.net/ChangeLog-5.php
- http://www.securityfocus.com/bid/65533
- http://www.securitytracker.com/id/1029767
- http://www.ubuntu.com/usn/USN-2126-1
- https://bugs.php.net/bug.php?id=66356
- https://bugzilla.redhat.com/show_bug.cgi?id=1065108
- https://exchange.xforce.ibmcloud.com/vulnerabilities/91099
- https://github.com/php/php-src/commit/2938329ce19cb8c4197dec146c3ec887c6f61d01