CVE-2014-5120
publishedphp: gd extension NUL byte injection in file names
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Oracle Linux | 7 | phpx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Red Hat Enterprise Linux | RHEL-6 | php54-phpsrc | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Oracle Linux | 7 | php-bcmathx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-clix86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-commonx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-dbax86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-develx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | php-embeddedx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-enchantx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-fpmx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-gdx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-intlx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-ldapx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-mbstringx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-mysqlx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-mysqlndx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-odbcx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-pdox86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-pgsqlx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-processx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-pspellx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-recodex86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-snmpx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-soapx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-xmlx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Oracle Linux | 7 | php-xmlrpcx86_64 | Advisory build | 0:5.4.16-23.el7_0.1 | ELSA-2014-1327 |
| Red Hat Enterprise Linux | RHEL-6 | php54-phpx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-bcmathx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-clix86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-commonx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-dbax86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-debuginfox86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-develx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-enchantx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-fpmx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-gdx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-imapx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-intlx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-ldapx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-mbstringx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-mysqlndx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-odbcx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-pdox86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-pgsqlx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-processx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-pspellx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-recodex86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-snmpx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-soapx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-tidyx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-xmlx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-xmlrpcx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php55-phpsrc | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-phpx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-bcmathx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-clix86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-commonx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-dbax86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-debuginfox86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-develx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-enchantx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-fpmx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-gdx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-gmpx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-imapx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-intlx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-ldapx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-mbstringx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-mysqlndx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-odbcx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-opcachex86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-pdox86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-pgsqlx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-processx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-pspellx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-recodex86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-snmpx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-soapx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-tidyx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-xmlx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-6 | php55-php-xmlrpcx86_64 | Advisory build | 5.5.6-13.el6 | RHSA-2014:1766 |
| Red Hat Enterprise Linux | RHEL-7 | phpppc64 | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | phps390x | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | phpsrc | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | phpx86_64 | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | php-bcmathppc64 | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | php-bcmaths390x | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | php-bcmathx86_64 | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | php-clippc64 | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | php-clis390x | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | php-clix86_64 | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | php-commonppc64 | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | php-commons390x | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | php-commonx86_64 | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | php-dbappc64 | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | php-dbas390x | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | php-dbax86_64 | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | php-debuginfoppc64 | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | php-debuginfos390x | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| Red Hat Enterprise Linux | RHEL-7 | php-debuginfox86_64 | Advisory build | 5.4.16-23.el7_0.1 | RHSA-2014:1327 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
9- APPLE-SA-2015-04-08-2 http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html
- openSUSE-SU-2014:1133 http://lists.opensuse.org/opensuse-updates/2014-09/msg00024.html
- http://php.net/ChangeLog-5.php
- RHSA-2014:1327 http://rhn.redhat.com/errata/RHSA-2014-1327.html
- RHSA-2014:1765 http://rhn.redhat.com/errata/RHSA-2014-1765.html
- RHSA-2014:1766 http://rhn.redhat.com/errata/RHSA-2014-1766.html
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- https://bugs.php.net/bug.php?id=67730
- https://support.apple.com/HT204659
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 151f8785ff02d775506142af333e5363ad71b88e989c24c938c12bdac9772a52
- Ingested
- 23 Sep 2026, 07:40:07 UTC
- Source record
- Official CVE record