CVE-2007-0842
MEDIUM 5.0CVSS 2.0The 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.
- Published
- 13 Feb 2007
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-399
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | microsoft | visual_c++cpe:2.3:a:microsoft:visual_c\+\+:2005:*:*:*:*:*:*:* |
= 2005 |
References
- http://msdn2.microsoft.com/en-us/library/a442x3ye%28VS.80%29.aspx · Patch, Vendor Advisory
- http://osvdb.org/33626 · Broken Link
- http://securityreason.com/securityalert/2237 · Exploit
- http://www.securityfocus.com/archive/1/459847/100/0/threaded · Third Party Advisory, VDB Entry
- https://exchange.xforce.ibmcloud.com/vulnerabilities/32454 · VDB Entry
History
- 25 Nov 2026 20:13 UTC · NVD: first stored (published 13 Feb 2007)