gd: buffer read overflow in gd_gif_in.c
Published Mar 30, 2015
5.0
MEDIUMCVSS 2.0
EPSS 15.43%
Description
The GetCode_ function in gd_gif_in.c in GD 2.1.1 and earlier, as used in PHP before 5.5.21 and 5.6.x before 5.6.5, allows remote attackers to cause a denial of service (buffer over-read and application crash) via a crafted GIF image that is improperly handled by the gdImageCreateFromGif function.
Affected products
No data.
Configuration 1
Configuration 4
- 7.0
- 8.0
Configuration 5
- 12.04
- 14.04
- 15.10
- 16.04
No data.
Red Hat Enterprise Linux 6
php-0:5.3.3-46.el6_6
Fixed · RHSA-2015:1218
Red Hat Enterprise Linux 7
php-0:5.4.16-36.ael7b_1
Fixed · RHSA-2015:1135
Red Hat Software Collections for Red Hat Enterprise Linux 6
php54-0:2.0-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6
php54-php-0:5.4.40-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6
php54-php-pecl-zendopcache-0:7.0.4-3.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6
php55-0:2.0-1.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6
php55-php-0:5.5.21-2.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php54-0:2.0-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php54-php-0:5.4.40-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php54-php-pecl-zendopcache-0:7.0.4-3.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php55-0:2.0-1.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php55-php-0:5.5.21-2.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php54-0:2.0-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php54-php-0:5.4.40-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php54-php-pecl-zendopcache-0:7.0.4-3.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php55-0:2.0-1.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php55-php-0:5.5.21-2.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 7
php54-0:2.0-1.el7
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 7
php54-php-0:5.4.40-1.el7
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 7
php54-php-pecl-zendopcache-0:7.0.4-3.el7
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 7
php55-0:2.0-1.el7
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 7
php55-php-0:5.5.21-2.el7
Fixed · RHSA-2015:1053
Red Hat Enterprise Linux 5
gd
Not affected
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Will not fix
Red Hat Enterprise Linux 6
gd
Will not fix
Red Hat Enterprise Linux 7
gd
Will not fix
Red Hat Software Collections
php54-php
Affected
Red Hat Software Collections
php55-php
Affected
Red Hat Software Collections
rh-php56-php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | php-0:5.3.3-46.el6_6 | Fixed | RHSA-2015:1218 |
| Red Hat Enterprise Linux 7 | php-0:5.4.16-36.ael7b_1 | Fixed | RHSA-2015:1135 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php54-0:2.0-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php54-php-0:5.4.40-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php54-php-pecl-zendopcache-0:7.0.4-3.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php55-0:2.0-1.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php55-php-0:5.5.21-2.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php54-0:2.0-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php54-php-0:5.4.40-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php54-php-pecl-zendopcache-0:7.0.4-3.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php55-0:2.0-1.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php55-php-0:5.5.21-2.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php54-0:2.0-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php54-php-0:5.4.40-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php54-php-pecl-zendopcache-0:7.0.4-3.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php55-0:2.0-1.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php55-php-0:5.5.21-2.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php54-0:2.0-1.el7 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php54-php-0:5.4.40-1.el7 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php54-php-pecl-zendopcache-0:7.0.4-3.el7 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php55-0:2.0-1.el7 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php55-php-0:5.5.21-2.el7 | Fixed | RHSA-2015:1053 |
| Red Hat Enterprise Linux 5 | gd | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | gd | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | gd | Will not fix | n/a |
| Red Hat Software Collections | php54-php | Affected | n/a |
| Red Hat Software Collections | php55-php | Affected | n/a |
| Red Hat Software Collections | rh-php56-php | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (54 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 15.43% (0.15425) | 96.69th | v5 (v2026.06.15) |
| Jun 15, 2026 | 15.13% (0.15129) | 96.30th | v5 (v2026.06.15) |
| May 24, 2026 | 12.09% (0.12088) | 93.89th | v4 (v2025.03.14) |
| Mar 4, 2026 | 16.54% (0.16543) | 94.78th | v4 (v2025.03.14) |
| Mar 1, 2026 | 8.22% (0.08216) | 92.09th | v4 (v2025.03.14) |
| Feb 4, 2026 | 16.54% (0.16543) | 94.72th | v4 (v2025.03.14) |
| Feb 1, 2026 | 8.22% (0.08216) | 92.03th | v4 (v2025.03.14) |
| Jan 14, 2026 | 16.54% (0.16543) | 94.69th | v4 (v2025.03.14) |
| Jan 4, 2026 | 15.31% (0.15311) | 94.41th | v4 (v2025.03.14) |
| Jan 1, 2026 | 7.11% (0.07108) | 91.30th | v4 (v2025.03.14) |
| Dec 28, 2025 | 15.31% (0.15311) | 94.41th | v4 (v2025.03.14) |
| Dec 27, 2025 | 11.67% (0.11671) | 93.47th | v4 (v2025.03.14) |
| Dec 4, 2025 | 15.31% (0.15311) | 94.36th | v4 (v2025.03.14) |
| Dec 1, 2025 | 7.11% (0.07108) | 91.23th | v4 (v2025.03.14) |
| Nov 4, 2025 | 15.31% (0.15311) | 94.33th | v4 (v2025.03.14) |
| Nov 1, 2025 | 7.11% (0.07108) | 91.16th | v4 (v2025.03.14) |
| Oct 28, 2025 | 15.31% (0.15311) | 94.32th | v4 (v2025.03.14) |
| Oct 27, 2025 | 11.67% (0.11671) | 93.39th | v4 (v2025.03.14) |
| Oct 4, 2025 | 15.31% (0.15311) | 94.37th | v4 (v2025.03.14) |
| Oct 1, 2025 | 7.11% (0.07108) | 91.22th | v4 (v2025.03.14) |
| Sep 11, 2025 | 11.67% (0.11671) | 93.43th | v4 (v2025.03.14) |
| Sep 7, 2025 | 9.25% (0.09251) | 92.42th | v4 (v2025.03.14) |
| Sep 1, 2025 | 3.69% (0.03690) | 87.54th | v4 (v2025.03.14) |
| Aug 4, 2025 | 9.25% (0.09251) | 92.38th | v4 (v2025.03.14) |
| Aug 1, 2025 | 3.69% (0.03690) | 87.57th | v4 (v2025.03.14) |
| Jul 30, 2025 | 9.25% (0.09251) | 92.38th | v4 (v2025.03.14) |
| Jul 13, 2025 | 12.27% (0.12267) | 93.53th | v4 (v2025.03.14) |
| Jul 5, 2025 | 14.75% (0.14754) | 94.17th | v4 (v2025.03.14) |
| Jul 1, 2025 | 6.72% (0.06717) | 90.85th | v4 (v2025.03.14) |
| Jun 4, 2025 | 14.75% (0.14754) | 94.13th | v4 (v2025.03.14) |
| Jun 1, 2025 | 6.72% (0.06717) | 90.80th | v4 (v2025.03.14) |
| May 5, 2025 | 14.75% (0.14754) | 94.08th | v4 (v2025.03.14) |
| May 1, 2025 | 6.72% (0.06717) | 90.78th | v4 (v2025.03.14) |
| Apr 11, 2025 | 14.29% (0.14287) | 93.82th | v4 (v2025.03.14) |
| Apr 10, 2025 | 6.48% (0.06479) | 90.22th | v4 (v2025.03.14) |
| Apr 7, 2025 | 14.29% (0.14287) | 93.82th | v4 (v2025.03.14) |
| Apr 6, 2025 | 6.48% (0.06479) | 90.21th | v4 (v2025.03.14) |
| Apr 3, 2025 | 14.29% (0.14287) | 93.81th | v4 (v2025.03.14) |
| Apr 2, 2025 | 6.48% (0.06479) | 90.20th | v4 (v2025.03.14) |
| Mar 30, 2025 | 14.29% (0.14287) | 93.81th | v4 (v2025.03.14) |
| Mar 29, 2025 | 18.17% (0.18168) | 92.07th | v4 (v2025.03.14) |
| Mar 27, 2025 | 14.29% (0.14287) | 93.45th | v4 (v2025.03.14) |
| Mar 25, 2025 | 6.48% (0.06479) | 90.11th | v4 (v2025.03.14) |
| Mar 24, 2025 | 14.29% (0.14287) | 93.80th | v4 (v2025.03.14) |
| Mar 22, 2025 | 6.48% (0.06479) | 90.27th | v4 (v2025.03.14) |
| Mar 21, 2025 | 14.29% (0.14287) | 93.88th | v4 (v2025.03.14) |
| Mar 20, 2025 | 6.48% (0.06479) | 90.27th | v4 (v2025.03.14) |
| Mar 17, 2025 | 14.29% (0.14287) | 93.88th | v4 (v2025.03.14) |
| Dec 12, 2024 | 3.08% (0.03083) | 91.39th | v3 (v2023.03.01) |
| Jan 18, 2024 | 3.92% (0.03919) | 91.13th | v3 (v2023.03.01) |
| Mar 7, 2023 | 3.04% (0.03043) | 89.42th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.36% (0.04358) | 88.02th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.36% (0.04358) | 86.83th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.36% (0.04358) | 70.59th | v2 (v2022.01.01) |
References (26)
- http://advisories.mageia.org/MGASA-2015-0040.html x_refsource_CONFIRMThird Party Advisory
- http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html vendor-advisoryx_refsource_APPLEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2015-05/msg00005.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2015-04/msg00002.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://marc.info/?l=bugtraq&m=143403519711434&w=2 vendor-advisoryx_refsource_HPMailing ListThird Party Advisory
- http://php.net/ChangeLog-5.php x_refsource_CONFIRMExploitVendor Advisory
- http://rhn.redhat.com/errata/RHSA-2015-1053.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2015-1066.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2015-1135.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2015-1218.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.debian.org/security/2015/dsa-3215 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:153 vendor-advisoryx_refsource_MANDRIVAThird Party Advisory
- http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html x_refsource_CONFIRMThird Party Advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html x_refsource_CONFIRMThird Party Advisory
- http://www.securityfocus.com/bid/73306 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1033703 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- http://www.ubuntu.com/usn/USN-2987-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2014-9709 Vendor Advisory
- https://bitbucket.org/libgd/gd-libgd/commits/47eb44b2e90ca88a08dca9f9a1aa9041e9587f43 x_refsource_CONFIRMThird Party Advisory
- https://bugs.php.net/bug.php?id=68601 x_refsource_CONFIRMVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1188639 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2014-9709
- https://security.gentoo.org/glsa/201606-10 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://security.gentoo.org/glsa/201607-04 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://support.apple.com/HT205267 x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2014-9709
Change history (0)
No recorded changes yet.