CVE-2014-5120
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…
- 6.4MediumCVSS base score
- 16.9%Exploitation in 30 daysEPSS · top 2.9% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By mitre
- 24 days later
· 24 days later
Published
- 10 years later
· 10 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
- EPSS (exploitation in 30 days)
- 16.9% · top 2.9% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.4.
Affected products
n/a
- affected n/a
References
9
- https://support.apple.com/HT204659 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2014:1766 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://bugs.php.net/bug.php?id=67730 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://php.net/ChangeLog-5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- APPLE-SA-2015-04-08-2 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- RHSA-2014:1327 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2014:1765 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- openSUSE-SU-2014:1133 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2014-5018 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2014-5120)Record last updated .