Home / Microsoft / Visual C\+\+ / CVE-2007-0842
CVE-2007-0842: is it exploited, and which versions of Microsoft Visual C\+\+ are affected and fixed?
CVE-2007-0842 is a vulnerability in Microsoft Visual C\+\+. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: visual c\+\+ 2005 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:53 UTC.
What is CVE-2007-0842?
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.
From the CVE record by mitre, last updated August 7, 2024, 12:34 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| microsoft | visual c\+\+ | 2005 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:36 UTC.
How severe is CVE-2007-0842?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2007-0842 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 5.93% probability of exploitation activity in the next 30 days, percentile 93.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- visualstudio-time-dos(32454) vdb-entry, x_refsource_XF
- 20070212 SecurityVulns.com: Microsoft Visual C++ 8.0 standard library time functions invalid assertion DoS (Problem 3000). mailing-list, x_refsource_BUGTRAQ
- 2237 third-party-advisory, x_refsource_SREASON
- http://msdn2.microsoft.com/en-us/library/a442x3ye%28VS.80%29.aspx x_refsource_MISC
- 33626 vdb-entry, x_refsource_OSVDB
When was it published, and where is the official record?
- Reserved
- February 7, 2007
- Published
- February 13, 2007, 11:00 UTC
- CVE record updated
- August 7, 2024, 12:34 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:36 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:53 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Visual C\+\+?
- Aug 31, 2010CVE-2010-3190 Apple Itunes: untrusted Search Path
- Jul 29, 2009CVE-2009-2495 Microsoft Visual C\+\+: information disclosure
- Jul 29, 2009CVE-2009-2493 Microsoft Visual C\+\+: n/a
- Jul 29, 2009CVE-2009-0901 Microsoft Visual C\+\+: code injection (remote code execution)
Questions about CVE-2007-0842
Is CVE-2007-0842 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 5.93% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Microsoft Visual C\+\+ are affected by CVE-2007-0842?
visual c\+\+ 2005, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2007-0842?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2007-0842?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2007-0842?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.