The 64-bit versions of Microsoft Visual C++ 8.0 standard library (MSVCR80.DLL) time functions, including (1) localtime, (2) localtime_s, (3) gmtime, (4) gmtime_s, (5) ctime, (6) ctime_s, (7) wctime, (8) wctime_s, and (9) fstat, trigger an assertion error instead of a NULL pointer or EINVAL when processing a time argument later than Jan 1, 3000, which might allow context-dependent attackers to cause a denial of service (application exit) via large time values. NOTE: it could be argued that this is a design limitation of the functions, and the vulnerability lies with any application that does not validate arguments to these functions. However, this behavior is inconsistent with documentation, which does not list assertions as a possible result of an error condition.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2007-02-13T11:00:00

Updated: 2024-08-07T12:34:21.084Z

Reserved: 2007-02-07T00:00:00

Link: CVE-2007-0842

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2007-02-13T11:28:00.000

Modified: 2024-03-12T17:39:15.707

Link: CVE-2007-0842

cve-icon Redhat

No data.