CVE-2013-6712 json
The scan function in ext/date/lib/parse_iso_intervals.c in PHP through 5.5.6 does not properly restrict creation of DateInterval objects, w…
published 12y ago modified 4mo ago also EUVD-2013-6514
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.6%
- EPSS 4.6% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
The scan function in ext/date/lib/parse_iso_intervals.c in PHP through 5.5.6 does not properly restrict creation of DateInterval objects, which might allow remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted interval specification.
Patch / fix
- php php 5.3.29, 5.4.24, 5.5.8
- php RHEL 6 5.3.3-27.el6_5.1
- php53 RHEL 5 5.3.3-23.el5_10
- php-gd RHEL 6 5.3.3-27.el6_5.1
- php-cli RHEL 6 5.3.3-27.el6_5.1
- php-dba RHEL 6 5.3.3-27.el6_5.1
- php-fpm RHEL 6 5.3.3-27.el6_5.1
- php-pdo RHEL 6 5.3.3-27.el6_5.1
- php-xml RHEL 6 5.3.3-27.el6_5.1
red hat advisories RHSA-2014:1012RHSA-2014:1765
- php7 openSUSE Tumbleweed 7.0.14-1.4
- php5 openSUSE Tumbleweed 5.6.28-1.1
- php8 openSUSE Tumbleweed 8.0.11-1.1
opensuse advisories openSUSE-SU-2024:10290-1openSUSE-SU-2024:10344-1openSUSE-SU-2024:11169-1
- bugs.php.net/bug.php?id=66060 advisory
Is CVE-2013-6712 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-6712 updated cvss 2.6
php: heap-based buffer over-read in DateInterval
-
Red Hat Software Collections php55-php, php55-php-gd, php55-php-cli, php55-php-dba, php55-php-fpm, php55-php-gmp, +20 moreaffected: no fix available
-
Red Hat Enterprise Linux (v. 5 server) php53 5.3.3-23.el5_10, php53-gd 5.3.3-23.el5_10, php53-cli 5.3.3-23.el5_10, php53-dba 5.3.3-23.el5_10, php53-pdo 5.3.3-23.el5_10, php53-xml 5.3.3-23.el5_10, +14 more Red Hat Enterprise Linux Desktop Optional (v. 6) php 5.3.3-27.el6_5.1, php-gd 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, +20 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php53 5.3.3-23.el5_10, php53-gd 5.3.3-23.el5_10, php53-cli 5.3.3-23.el5_10, php53-dba 5.3.3-23.el5_10, php53-pdo 5.3.3-23.el5_10, php53-xml 5.3.3-23.el5_10, +14 more Red Hat Enterprise Linux HPC Node (v. 6) php 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-common 5.3.3-27.el6_5.1 Red Hat Enterprise Linux HPC Node Optional (v. 6) php 5.3.3-27.el6_5.1, php-gd 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, php-xml 5.3.3-27.el6_5.1, +18 more Red Hat Enterprise Linux Server (v. 6) php 5.3.3-27.el6_5.1, php-gd 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, php-xml 5.3.3-27.el6_5.1, php-ldap 5.3.3-27.el6_5.1, +6 morefixed: vendor fix RHSA-2014:1012
+3 more productsfewer
Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-zts 5.3.3-27.el6_5.1, php-imap 5.3.3-27.el6_5.1, php-intl 5.3.3-27.el6_5.1, +9 more Red Hat Enterprise Linux Workstation (v. 6) php 5.3.3-27.el6_5.1, php-gd 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, php-xml 5.3.3-27.el6_5.1, php-ldap 5.3.3-27.el6_5.1, +6 more Red Hat Enterprise Linux Workstation Optional (v. 6) php 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-zts 5.3.3-27.el6_5.1, php-imap 5.3.3-27.el6_5.1, php-intl 5.3.3-27.el6_5.1, +9 more -
Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) php54-php 5.4.16-22.el6, php54-php-gd 5.4.16-22.el6, php54-php-cli 5.4.16-22.el6, php54-php-dba 5.4.16-22.el6, php54-php-fpm 5.4.16-22.el6, php54-php-pdo 5.4.16-22.el6, +18 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) php54-php 5.4.16-22.el7, php54-php-gd 5.4.16-22.el7, php54-php-cli 5.4.16-22.el7, php54-php-dba 5.4.16-22.el7, php54-php-fpm 5.4.16-22.el7, php54-php-pdo 5.4.16-22.el7, +16 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) php54-php 5.4.16-22.el6, php54-php-gd 5.4.16-22.el6, php54-php-cli 5.4.16-22.el6, php54-php-dba 5.4.16-22.el6, php54-php-fpm 5.4.16-22.el6, php54-php-pdo 5.4.16-22.el6, +18 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.5) php54-php 5.4.16-22.el6, php54-php-gd 5.4.16-22.el6, php54-php-cli 5.4.16-22.el6, php54-php-dba 5.4.16-22.el6, php54-php-fpm 5.4.16-22.el6, php54-php-pdo 5.4.16-22.el6, +18 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.6) php54-php 5.4.16-22.el6, php54-php-gd 5.4.16-22.el6, php54-php-cli 5.4.16-22.el6, php54-php-dba 5.4.16-22.el6, php54-php-fpm 5.4.16-22.el6, php54-php-pdo 5.4.16-22.el6, +18 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) php54-php 5.4.16-22.el6, php54-php-gd 5.4.16-22.el6, php54-php-cli 5.4.16-22.el6, php54-php-dba 5.4.16-22.el6, php54-php-fpm 5.4.16-22.el6, php54-php-pdo 5.4.16-22.el6, +18 morefixed: vendor fix RHSA-2014:1765
+1 more productsfewer
Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) php54-php 5.4.16-22.el7, php54-php-gd 5.4.16-22.el7, php54-php-cli 5.4.16-22.el7, php54-php-dba 5.4.16-22.el7, php54-php-fpm 5.4.16-22.el7, php54-php-pdo 5.4.16-22.el7, +16 more -
Red Hat Enterprise Linux 5 php Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 morenot affected: vulnerable code not present
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.58% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- Technology feeds
References
-
bugs.php.net
/bug.php?id=66060
issue-tracking, patch, vendor-advisory
-
debian.org
/security/2013/dsa-2816
vendor-advisory, third-party-advisory
-
h20564.www2.hp.com
/hpsc/doc/public/display?docId=emr_na-c04463322
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2013-12/msg00126.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.apple.com
/archives/security-announce/2015/Apr/msg00001.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2013-12/msg00125.html
vendor-advisory, mailing-list, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2014-1765.html
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-2055-1
vendor-advisory, third-party-advisory
-
support.apple.com
/HT204659
third-party-advisory
- git.php.net /?p=php-src.git%3Ba=commit%3Bh=12fe4e90be7bfa2a763197079f68f5568a14e071
Sources
- CVE List CVE-2013-6712
- NVD CVE-2013-6712
Fencer Intel 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.