CVE-2014-3670
The exif_ifd_make_value function in exif.c in the EXIF extension in PHP before 5.4.34, 5.5.x before 5.5.18, and 5.6.x before 5.6.2 operates on floating-point arrays incorrectly, which allows remote attackers to cause a denial of service (heap memory corruption and application crash) or possibly execute arbitrary code via a crafted JPEG image with TIFF thumbnail data that is improperly handled by the exif_thumbnail function.
What to do
Likely to be exploited: EPSS gives a 23% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Red Hat, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 14.04 | php5 | Fixed | 5.5.9+dfsg-1ubuntu4.5 | UBUNTU-CVE-2014-3670 |
| Red Hat Enterprise Linux 7 | php | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-bcmath | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-cli | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-common | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-dba | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-devel | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-embedded | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-enchant | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-fpm | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-gd | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-intl | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-ldap | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-mbstring | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-mysql | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-mysqlnd | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-odbc | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-pdo | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-pgsql | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-process | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-pspell | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-recode | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-snmp | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-soap | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-xml | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 7 | php-xmlrpc | Fixed | 0:5.4.16-23.el7_0.3 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-bcmath | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-cli | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-common | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-dba | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-devel | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-embedded | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-enchant | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-fpm | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-gd | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-imap | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-intl | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-ldap | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-mbstring | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-mysql | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-odbc | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-pdo | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-pgsql | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-process | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-pspell | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-recode | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-snmp | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-soap | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-tidy | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-xml | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-xmlrpc | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 6 | php-zts | Fixed | 0:5.3.3-40.el6_6 | RHSA-2014:1767 |
| Red Hat Enterprise Linux 5 | php | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-bcmath | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-cli | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-common | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-dba | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-devel | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-gd | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-imap | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-ldap | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-mbstring | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-mysql | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-ncurses | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-odbc | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-pdo | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-pgsql | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-snmp | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-soap | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-xml | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php-xmlrpc | Fixed | 0:5.1.6-45.el5_11 | RHSA-2014:1824 |
| Red Hat Enterprise Linux 5 | php53 | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-bcmath | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-cli | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-common | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-dba | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-devel | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-gd | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-imap | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-intl | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-ldap | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-mbstring | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-mysql | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-odbc | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-pdo | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-pgsql | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-process | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-pspell | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-snmp | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-soap | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-xml | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
| Red Hat Enterprise Linux 5 | php53-xmlrpc | Fixed | 0:5.3.3-26.el5_11 | RHSA-2014:1768 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://rhn.redhat.com/errata/RHSA-2014-1824.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-updates/2014-11/msg00034.html (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2014-1767.html (vendor-advisory)
- http://www.ubuntu.com/usn/USN-2391-1 (vendor-advisory)
- http://lists.opensuse.org/opensuse-updates/2014-11/msg00024.html (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2014-1766.html (vendor-advisory)
References
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=ddb207e7fa2e9adeba021a1303c3781efda5409b
- http://rhn.redhat.com/errata/RHSA-2014-1824.html
- http://secunia.com/advisories/59967
- http://lists.opensuse.org/opensuse-updates/2014-11/msg00034.html
- http://rhn.redhat.com/errata/RHSA-2014-1767.html
- http://www.ubuntu.com/usn/USN-2391-1
- https://support.apple.com/HT204659
- http://lists.opensuse.org/opensuse-updates/2014-11/msg00024.html
- http://secunia.com/advisories/61982
- http://secunia.com/advisories/61763
- http://linux.oracle.com/errata/ELSA-2014-1767.html
- http://rhn.redhat.com/errata/RHSA-2014-1766.html
- http://www.debian.org/security/2014/dsa-3064
- http://linux.oracle.com/errata/ELSA-2014-1768.html
- http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.