Skip to content
Fencer Intel
medium 5.0

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

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 Fencer

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-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 more
    affected: 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 more
    +3 more products
    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
    fixed: vendor fix RHSA-2014:1012
  • 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 more
    +1 more products
    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
    fixed: vendor fix RHSA-2014:1765
  • Red Hat Enterprise Linux 5 php Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more
    not 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

Sources

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.