Live threats

All CVEs / Php

CVE-2007-3996Php

Medium 6.8 No auth needed

Priority
56
CVSS 2.0
6.8
EPSS
4.2%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Sep 4, 2007
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-189
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≤ 5.2.3

Official sources

References

Links published by the sources. Open them with care.