Skip to content
OpenAdvisories
Unscored Public exploit CVE-2012-0789 EUVD-2012-0820GHSA-q63r-5v5h-328m

Memory leak in the timezone functionality in PHP before 5.3.9 allows remote attackers to cause a denial of service (memory consumption) by …

Published Feb 14, 2012 · Updated Aug 6, 2024 · Assigned by redhat

Description

Memory leak in the timezone functionality in PHP before 5.3.9 allows remote attackers to cause a denial of service (memory consumption) by triggering many strtotime function calls, which are not properly handled by the php_date_parse_tzfile cache.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 6 php +25 5.3.3-14.el6_3 RHSA-2012:1046
RHEL 5 php +18 5.1.6-39.el5_8 RHSA-2012:1045
RHEL 5 php53 +20 5.3.3-13.el5_8 RHSA-2012:1047

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References