CVE-2009-2687 json
The exif_read_data function in the Exif module in PHP before 5.2.10 allows remote attackers to cause a denial of service (crash) via a malf…
published 2009-08-05 17 y ago modified 2026-06-16 4 mo ago also EUVD-2009-2680
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.4%
- EPSS 4.4% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
The exif_read_data function in the Exif module in PHP before 5.2.10 allows remote attackers to cause a denial of service (crash) via a malformed JPEG image with invalid offset fields, a different issue than CVE-2005-3353.
Patch / fix
- php php 5.2.10
- php RHEL 3 4.3.2-54.ent
- php RHEL 4 4.3.9-3.29
- php RHEL 5 5.1.6-24.el5_4.5
- php-gd RHEL 4 4.3.9-3.29
- php-gd RHEL 5 5.1.6-24.el5_4.5
- php-cli RHEL 5 5.1.6-24.el5_4.5
- php-dba RHEL 5 5.1.6-24.el5_4.5
- php-pdo RHEL 5 5.1.6-24.el5_4.5
red hat advisories RHSA-2010:0040RHSA-2009:1461
- vupen.com/english/advisories/2009/1632 advisory
- securityfocus.com/bid/35440 advisory
- php.net/releases/5_2_10.php advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-2687 updated cvss 5.8
php: exif_read_data crash on corrupted JPEG files
-
Red Hat Desktop version 3 php 4.3.2-54.ent, php-imap 4.3.2-54.ent, php-ldap 4.3.2-54.ent, php-odbc 4.3.2-54.ent, php-mysql 4.3.2-54.ent, php-pgsql 4.3.2-54.ent Red Hat Enterprise Linux (v. 5 server) php 5.1.6-24.el5_4.5, php-gd 5.1.6-24.el5_4.5, php-cli 5.1.6-24.el5_4.5, php-dba 5.1.6-24.el5_4.5, php-pdo 5.1.6-24.el5_4.5, php-xml 5.1.6-24.el5_4.5, +12 more Red Hat Enterprise Linux AS version 3 php 4.3.2-54.ent, php-imap 4.3.2-54.ent, php-ldap 4.3.2-54.ent, php-odbc 4.3.2-54.ent, php-mysql 4.3.2-54.ent, php-pgsql 4.3.2-54.ent Red Hat Enterprise Linux AS version 4 php 4.3.9-3.29, php-gd 4.3.9-3.29, php-imap 4.3.9-3.29, php-ldap 4.3.9-3.29, php-odbc 4.3.9-3.29, php-pear 4.3.9-3.29, +7 more Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.29, php-gd 4.3.9-3.29, php-imap 4.3.9-3.29, php-ldap 4.3.9-3.29, php-odbc 4.3.9-3.29, php-pear 4.3.9-3.29, +7 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php 5.1.6-24.el5_4.5, php-gd 5.1.6-24.el5_4.5, php-cli 5.1.6-24.el5_4.5, php-dba 5.1.6-24.el5_4.5, php-pdo 5.1.6-24.el5_4.5, php-xml 5.1.6-24.el5_4.5, +12 morefixed: vendor fix RHSA-2010:0040
+4 more productsfewer
Red Hat Enterprise Linux ES version 3 php 4.3.2-54.ent, php-imap 4.3.2-54.ent, php-ldap 4.3.2-54.ent, php-odbc 4.3.2-54.ent, php-mysql 4.3.2-54.ent, php-pgsql 4.3.2-54.ent Red Hat Enterprise Linux ES version 4 php 4.3.9-3.29, php-gd 4.3.9-3.29, php-imap 4.3.9-3.29, php-ldap 4.3.9-3.29, php-odbc 4.3.9-3.29, php-pear 4.3.9-3.29, +7 more Red Hat Enterprise Linux WS version 3 php 4.3.2-54.ent, php-imap 4.3.2-54.ent, php-ldap 4.3.2-54.ent, php-odbc 4.3.2-54.ent, php-mysql 4.3.2-54.ent, php-pgsql 4.3.2-54.ent Red Hat Enterprise Linux WS version 4 php 4.3.9-3.29, php-gd 4.3.9-3.29, php-imap 4.3.9-3.29, php-ldap 4.3.9-3.29, php-odbc 4.3.9-3.29, php-pear 4.3.9-3.29, +7 more
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.38% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugs.php.net http://bugs.php.net/bug.php?id=48378 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
- Technology feeds
References
-
vupen.com
/english/advisories/2009/1632
vdb-entry, patch, vendor-advisory
-
securityfocus.com
/bid/35440
vdb-entry, patch, third-party-advisory
-
php.net
/releases/5_2_10.php
patch, vendor-advisory
-
bugs.php.net
/bug.php?id=48378
exploit, vendor-advisory
-
usn.ubuntu.com
/824-1/
vendor-advisory, broken-link
-
marc.info
/?l=bugtraq&m=127680701405735&w=2
vendor-advisory, mailing-list, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2009:145
vendor-advisory, broken-link
-
debian.org
/security/2009/dsa-1940
vendor-advisory, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2009:167
vendor-advisory, broken-link
-
lists.opensuse.org
/opensuse-security-announce/2009-10/msg00004.html
vendor-advisory, mailing-list, third-party-advisory
-
secunia.com
/advisories/35441
third-party-advisory, broken-link, vendor-advisory
-
secunia.com
/advisories/37482
third-party-advisory, broken-link
-
secunia.com
/advisories/40262
third-party-advisory, broken-link
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6655
vdb-entry, signature, third-party-advisory
-
secunia.com
/advisories/36462
third-party-advisory, broken-link
-
osvdb.org
/55222
vdb-entry, broken-link
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10695
vdb-entry, signature, third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/51253
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2009-2687
- NVD CVE-2009-2687
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.