Back
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…
Medium6.4EPSS 16.9%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
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 (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.4.
Weakness
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)
- 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://trackcve.app/cve/CVE-2014-5120)Record last updated .