All reports
Low

php: heap-based buffer over-read in DateInterval

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2013-6712

Probability of exploitation in the next 30 days: 4.58%

FIRST EPSS · 2026-11-20

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.

A buffer over-read flaw was found in the way the DateInterval class parsed interval specifications. An attacker able to make a PHP application parse a specially crafted specification using DateInterval could possibly cause the PHP interpreter to crash.