CVE-2007-3996: Integer Overflow
Multiple integer overflows in libgd in PHP before 5.2.4 allow remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a large (1) srcW or (2) srcH value to the (a) gdImageCopyResized function, or a large (3) sy (height) or (4) sx (width) value to the (b) gdImageCreate or the (c) gdImageCreateTrueColor function.
Affected Software
Remediation
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2007-3996?
CVE-2007-3996 is categorized as a high severity vulnerability due to potential remote code execution and denial of service.
How do I fix CVE-2007-3996?
To fix CVE-2007-3996, upgrade PHP to version 5.2.4 or later.
What software versions are affected by CVE-2007-3996?
CVE-2007-3996 affects PHP versions up to and including 5.2.3.
What types of attacks can be executed through CVE-2007-3996?
CVE-2007-3996 allows attackers to exploit integer overflow vulnerabilities that can lead to application crashes or arbitrary code execution.
Which functions in libgd are primarily affected by CVE-2007-3996?
The gdImageCopyResized function is primarily affected by CVE-2007-3996, particularly with large srcW, srcH, sy, or sx values.