CVE-2007-0842
Last modified
CVE-2007-0842 is a vulnerability of currently unknown severity. 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. EPSS estimates a 5.60% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Microsoft | Visual C\+\+ | 2005 |
References
- http://msdn2.microsoft.com/en-us/library/a442x3ye%28VS.80%29.aspxPatch, Vendor Advisory
- http://osvdb.org/33626Broken Link
- http://www.securityfocus.com/archive/1/459847/100/0/threadedThird Party Advisory, VDB Entry
- http://msdn2.microsoft.com/en-us/library/a442x3ye%28VS.80%29.aspxPatch, Vendor Advisory
- http://osvdb.org/33626Broken Link
- http://www.securityfocus.com/archive/1/459847/100/0/threadedThird Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2007-0842?
How severe is CVE-2007-0842?
How do I fix CVE-2007-0842?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2007
- CVE-2007-0836admin.php in Coppermine Photo Gallery 1.4.10, and possibly e…
- CVE-2007-0837PHP remote file inclusion vulnerability in examples/inc/top.…
- CVE-2007-0838FreeProxy before 3.92 Build 1626 allows malicious users to c…
- CVE-2007-0839Multiple PHP remote file inclusion vulnerabilities in index/…
- CVE-2007-0840Cross-site scripting (XSS) vulnerability in HLstats before 1…
- CVE-2007-0841Multiple unspecified vulnerabilities in vbDrupal before 4.7.…
- CVE-2007-0843The ReadDirectoryChangesW API function on Microsoft Windows …
- CVE-2007-0844The auth_via_key function in pam_ssh.c in pam_ssh before 1.9…
- CVE-2007-0845admin/index.php in Advanced Poll 2.0.0 through 2.0.5-dev all…
- CVE-2007-0846Cross-site scripting (XSS) vulnerability in forum.php in Ope…
- CVE-2007-0847SQL injection vulnerability in mod/PM/reply.php in Open Tibi…
- CVE-2007-0848PHP remote file inclusion vulnerability in classes/class_mai…
Are you affected by CVE-2007-0842?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
