Vulnerabilities · 2014 · Php
CVE-2014-5120
Php vulnerability
gd_ctx.c in the GD component in PHP 5.4.x before 5.4.32 and 5.5.x before 5.5.16 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to overwrite arbitrary files via crafted input to an application that calls the (1) imagegd, (2) imagegd2, (3) imagegif, (4) imagejpeg, (5) imagepng, (6) imagewbmp, or (7) imagewebp function.
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.php.net/bug.php?id=67730 · Vendor Advisory
- lists.apple.com/archives/security-announce/2015/Apr/msg00001.html
- lists.opensuse.org/opensuse-updates/2014-09/msg00024.html
- php.net/ChangeLog-5.php
- rhn.redhat.com/errata/RHSA-2014-1327.html
- rhn.redhat.com/errata/RHSA-2014-1765.html
- rhn.redhat.com/errata/RHSA-2014-1766.html
- www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- nvd.nist.gov/vuln/detail/CVE-2014-5120
- cve.org/CVERecord?id=CVE-2014-5120
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.