CVE-2007-0842

Microsoft Visual C++ 8.0 - Denial of Service via Large Time Values in Time Functions

Title source: llm
STIX 2.1

Description

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.

References (5)

Core 5
Core References
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/459847/100/0/threaded
Exploit third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/2237
Broken Link vdb-entry x_refsource_osvdb
http://osvdb.org/33626

Scores

EPSS 0.0560
EPSS Percentile 92.2%

Details

CWE
CWE-399
Status published
Products (1)
microsoft/visual_c\+\+ 2005
Published Feb 13, 2007
Tracked Since Feb 18, 2026