What’s Vulnerable › Vulnerabilities
CVE-2013-6712
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2013-11-28 · updated 2026-06-17
- Weakness: CWE-119
Description
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.
Affected products
- macOS: through 10.10.2
- Canonical Ubuntu Linux: 10.04, 12.04, 12.10, 13.04, 13.10
- Debian Linux: 6.0, 7.0
- Opensuse: 11.4, 12.2, 12.3, 13.1
- PHP: before 5.3.29; from 5.4.0 before 5.4.24; from 5.5.0 before 5.5.8 — fixed in 5.3.29, 5.4.24, 5.5.8
How to fix
Upgrade to a fixed version: PHP 5.3.29, 5.4.24, 5.5.8. Check the vendor advisory for mitigations.
References
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=12fe4e90be7bfa2a763197079f68f5568a14e071
- http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00125.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00126.html
- http://rhn.redhat.com/errata/RHSA-2014-1765.html
- http://www.debian.org/security/2013/dsa-2816
- http://www.ubuntu.com/usn/USN-2055-1
- https://bugs.php.net/bug.php?id=66060
- https://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c04463322
- https://support.apple.com/HT204659
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=12fe4e90be7bfa2a763197079f68f5568a14e071
- http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html
Get alerted when CVE-2013-6712 or the next vulnerability affects your stack