Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessUser downloads malicious file
-
ExploitOpens file in doslib application
-
ExecutionBuffer overflow triggered in memory parsing
-
ImpactAttacker gains code execution with user privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Local attacker with user-level access. Victim must open or interact with a crafted file processed by doslib (version before doslib-20250729). No network access required. |
| Impact | The CVSS v3.1 score of 7.8 (High) reflects significant potential impact (C:H/I:H/A:H) with local attack vector (AV:L), low complexity (AC:L), no privileges required (PR:N), but requiring user interaction (UI:R). The local attack vector and user interaction requirement substantially reduce the practical exploitability compared to remotely exploitable vulnerabilities. Given that doslib is a specialized development library for MS-DOS rather than widely deployed production software, the attack surface is limited to developers and systems using this specific toolchain. The vulnerability was responsibly reported by GovTech CSG with a patch made available promptly, indicating no evidence of in-the-wild exploitation. While the technical impact is high if exploited, the narrow user base, local attack requirement, and available patch make this a moderate real-world priority for organizations that specifically use doslib in their development workflows. |
| Exploit ScenarioDerived | An attacker crafts a malicious file (such as a specially formatted configuration file, binary, or input data) that triggers the buffer overflow when processed by a doslib-based application or tool. A developer or user with local access opens or processes this malicious file using the vulnerable doslib version, causing the buffer overflow to execute attacker-controlled code with the privileges of the user running the application. The low attack complexity suggests exploitation is straightforward once the attacker can convince a user to process the malicious file. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 24, 2026
Buffer overflow in doslib versions prior to 20250729 allows local attackers with user interaction to achieve full system compromise including code execution, data theft, and denial of service. The vulnerability requires local access and user interaction to trigger, but once exploited grants complete control over affected systems.
Earlier versions of this analysis (1)
A buffer overflow vulnerability exists in doslib, a library for MS-DOS development, that allows an attacker to achieve arbitrary code execution with high impact on confidentiality, integrity, and availability. All versions of doslib prior to doslib-20250729 are affected. The vulnerability requires local access and user interaction (such as processing a malicious file), and a patch is available from the vendor via GitHub pull request #65.
RemediationAI
Upgrade doslib to version doslib-20250729 or later, which contains the fix for this buffer overflow vulnerability. The patch is available via GitHub pull request at https://github.com/joncampbell123/doslib/pull/65. Organizations using doslib in their development environments should update their toolchains to the patched version. Until patching is completed, exercise caution when processing untrusted input files or data with doslib-based tools, and consider restricting the use of vulnerable versions to trusted data sources only in isolated development environments.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Doslib is a development library by joncampbell123 for creating MS-DOS applications and tools. The affected component is identified via CPE cpe:2.3:a:joncampbell123:doslib:*:*:*:*:*:*:*:*. The vulnerability is rooted in CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer), a class of flaws where software performs operations on a memory buffer but can read from or write to a memory location outside the intended boundary. This classic memory safety issue can lead to crashes, data corruption, or arbitrary code execution when an attacker can control the out-of-bounds access.
Know when Doslib gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in joncampbell123 doslib.This issue affects doslib: before doslib-20250729.
Executive ViewAI
A buffer overflow vulnerability in doslib poses a risk to organizations using this MS-DOS development library, potentially allowing attackers to execute arbitrary code if a user processes a malicious file. This affects development teams and environments where doslib is actively used, with impact to system confidentiality, integrity, and availability. A vendor patch is available and should be prioritized for deployment.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
EUVD-2026-14754
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB