{"id":"CVE-2007-0842","published":"2007-02-13T11:00:00Z","modified":"2024-08-07T12:34:21Z","title":"The 64-bit versions of Microsoft Visual C++ 8.0 standard library (MSVCR80.DLL) time functions, including (1)…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05928,"percentile":0.9343,"provenance":"source"},"cwes":[],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/32454","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.securityfocus.com/archive/1/459847/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://securityreason.com/securityalert/2237","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://msdn2.microsoft.com/en-us/library/a442x3ye%28VS.80%29.aspx","tags":["x_refsource_MISC"]},{"url":"http://osvdb.org/33626","tags":["vdb-entry","x_refsource_OSVDB"]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":18.69}]},"summary":{"text":"The 64-bit versions of the Microsoft Visual C++ 8.0 standard library (MSVCR80.DLL) time functions, including localtime, gmtime, ctime, wctime, and fstat and their _s variants, mishandle time arguments later than January 1, 3000 by raising an assertion error instead of returning a NULL pointer or EINVAL. An attacker who can supply a large time value to an application calling these functions, such as through input the application passes into them without validation, can cause the application to exit, a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:04:01Z"},"euvd":{"id":"EUVD-2007-0839","exploited":false,"provenance":"source"}}