# CVE-2007-0842

- Priority: **Routine**
- Reason: Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2007-02-13 · Modified: 2024-08-07
- Record: https://cvemate.com/vulnerability/CVE-2007-0842 · JSON: https://cvemate.com/vulnerability/CVE-2007-0842/json

## 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.
```

## Signals

- CVSS: 5 medium (v2.0, NVD) AV:N/AC:L/Au:N/C:N/I:N/A:P
- EPSS: 5.928%, percentile 93.451%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- microsoft visual\_c\\\#: 2005

## References

- <https://exchange.xforce.ibmcloud.com/vulnerabilities/32454>
- <http://www.securityfocus.com/archive/1/459847/100/0/threaded>
- <http://securityreason.com/securityalert/2237>
- <http://msdn2.microsoft.com/en-us/library/a442x3ye%28VS.80%29.aspx>
- <http://osvdb.org/33626>

---

Data as of 2026-12-05T03:26:11.095Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
