Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2014-5120

published

php: gd extension NUL byte injection in file names

Title from Red Hat VEX

Published
23 Aug 2014, 01:00:00 UTC
Updated
06 Aug 2024, 11:34:37 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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 / vendorReleasePackage / productPublisher statusFixed buildSource
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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

8

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.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

9

Provider assertions

2

mitre · 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

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected