CVE-2007-0842 microsoft visual c\+\+: Resource Management Errors
microsoft visual c\+\+: no CVSS score yet. EPSS 5.9% estimated probability of exploitation activity in the next 30 days.
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.
- EPSS
- 5.9% (unchanged from 5.9% a week ago; 5.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-12-03. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-399 Resource Management Errors
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Patch: http://msdn2.microsoft.com/en-us/library/a442x3ye%28VS.80%29.aspx
- Vendor advisory: http://msdn2.microsoft.com/en-us/library/a442x3ye%28VS.80%29.aspx
Ask an AI about this CVE
Show the prompt
Explain CVE-2007-0842 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2007-0842?via=ask-ai-copy and https://cve.bz/cve/CVE-2007-0842?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2007-0842 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
- microsoft:visual_c\+\+
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| microsoft:visual_c++ | 2005 |