CVE-2007-0842: microsoft visual_c\# Resource Management Errors
Vulnerability summary
CVE-2007-0842 is a medium (CVSS 5.0) Resource Management Errors vulnerability in microsoft visual_c\#. EPSS estimates a 5.88% chance of exploitation in the next 30 days, higher than 93.1% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 13-02-2007PublishedVulnerability first disclosed.
- 07-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
5.88%
Chance of exploitation in the next 30 days
Percentile
93%
Versus all other CVEs
30-day change
0.00 pp
From 5.88% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (securityreason.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Microsoft1 product
- visual_c\#2005
1 vendor · 1 product
References
5 links- www.securityfocus.com/archive/1/459847/100/0/threadedMailing ListX Refsource BUGTRAQThird Party AdvisoryVDB Entry