CVE-2019-7165
A buffer overflow in DOSBox 0.74-2 allows attackers to execute arbitrary code.
CVE-2019-7165 is a critical vulnerability (CVSS 9.8) in Dosbox, published July 3, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.82%, the 90th percentile. Fixed in dosbox 0.74-3-1.
A buffer overflow in DOSBox 0.74-2 allows attackers to execute arbitrary code.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
A buffer overflow in DOSBox 0.74-2 allows attackers to execute arbitrary code.
- Record
CVE-2019-7165- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
A buffer overflow in DOSBox 0.74-2 allows attackers to execute arbitrary code.
- Record
CVE-2019-7165- Updated
- 2026-11-02
EUVDEUVD-2019-16714 No score
A buffer overflow in DOSBox 0.74-2 allows attackers to execute arbitrary code.
- Record
EUVD-2019-16714- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-p4fr-fcfj-54mh
9.8
A buffer overflow in DOSBox 0.74-2 allows attackers to execute arbitrary code.
A buffer overflow in DOSBox 0.74-2 allows attackers to execute arbitrary code.
- Record
GHSA-p4fr-fcfj-54mh- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSV
9.8
A buffer overflow in DOSBox 0.74-2 allows attackers to execute arbitrary code.
- Record
CVE-2019-7165- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-7165
9.8
A buffer overflow in DOSBox 0.74-2 allows attackers to execute arbitrary code.
- Record
DEBIAN-CVE-2019-7165- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2019-7165
9.8
A buffer overflow in DOSBox 0.74-2 allows attackers to execute arbitrary code.
- Record
UBUNTU-CVE-2019-7165- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2019-0205 No score
Updated dosbox package fixes security vulnerabilities
Dosbox 0.74-3 is a security release:
- Fixed that a very long line inside a bat file would overflow the parsing buffer. (CVE-2019-7165 by Alexandre Bartel)
- Added a basic permission system so that a program running inside DOSBox can't access the contents of /proc (e.g. /proc/self/mem) when / or /proc were (to be) mounted. (CVE-2019-12594 by Alexandre Bartel)
It also brings several other fixes for out of bounds access and buffer overflows, and some fixes to the OpenGL rendering.
The game compatibility should be identical to 0.74 and 0.74-2. It is recommended to use config -securemode when dealing with untrusted files.
- Record
MGASA-2019-0205- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:1905-1 No score
Security update for dosbox
This update for dosbox fixes the following issues:
Security issues fixed:
- CVE-2019-7165: Fixed that a very long line inside a bat file would overflow the parsing buffer (bnc#1140254).
- CVE-2019-12594: Added a basic permission system so that a program running inside DOSBox can't access the contents of /proc (e.g. /proc/self/mem) when / or /proc were (to be) mounted (bnc#1140254).
- Several other fixes for out of bounds access and buffer overflows.
- Record
openSUSE-SU-2019:1905-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:1920-1 No score
Security update for dosbox
This update for dosbox fixes the following issues:
Security issues fixed:
- CVE-2019-7165: Fixed that a very long line inside a bat file would overflow the parsing buffer (bnc#1140254).
- CVE-2019-12594: Added a basic permission system so that a program running inside DOSBox can't access the contents of /proc (e.g. /proc/self/mem) when / or /proc were (to be) mounted (bnc#1140254).
- Several other fixes for out of bounds access and buffer overflows.
This update was imported from the openSUSE:Leap:15.0:Update update project.
- Record
openSUSE-SU-2019:1920-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10725-1 No score
dosbox-0.74.3-5.2 on GA media
These are all security issues fixed in the dosbox-0.74.3-5.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10725-1- Updated
- 2026-11-02
OSVUSN-5356-1 No score
dosbox vulnerabilities
Alexandre Bartel discovered that DOSBox incorrectly handled long lines in certain files. An attacker could possibly use this issue to execute arbitrary code. (CVE-2019-7165)
Alexandre Bartel discovered that DOSBox incorrectly performed access control over certain directories. An attacker could possibly use this issue to execute arbitrary code. (CVE-2019-12594)
- Record
USN-5356-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
dosboxDebian:12 |
before 0.74-3-1 | 0.74-3-1 |
dosboxDebian:13 |
before 0.74-3-1 | 0.74-3-1 |
dosboxDebian:14 |
before 0.74-3-1 | 0.74-3-1 |
dosboxDebian:8 |
before 0.74-4+deb8u1, plus listed versions 0.74-4 |
0.74-4+deb8u1 |
dosboxDebian:9 |
before 0.74-4.2+deb9u2, plus listed versions 0.74-4.20.74-4.2+deb9u1 |
0.74-4.2+deb9u2 |
dosboxDebian:10 |
before 0.74-2-3+deb10u1, plus listed versions 0.74-2-3 |
0.74-2-3+deb10u1 |
dosboxMageia:6 |
before 0.74.3-1.mga6 | 0.74.3-1.mga6 |
dosboxMageia:7 |
before 0.74.3-1.mga7 | 0.74.3-1.mga7 |
dosboxUbuntu:16.04:LTS |
before 0.74-4.2+deb9u2build0.16.04.1, plus listed versions 0.74-4.2 |
0.74-4.2+deb9u2build0.16.04.1 |
dosboxUbuntu:18.04:LTS |
before 0.74-4.3ubuntu0.1, plus listed versions 0.74-4.2build10.74-4.3 |
0.74-4.3ubuntu0.1 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
dosboxSUSE:Package Hub 15 |
before 0.74.3-bp150.3.3.1 | 0.74.3-bp150.3.3.1 |
dosboxopenSUSE:Leap 15.0 |
before 0.74.3-bp150.3.3.1 | 0.74.3-bp150.3.3.1 |
dosboxopenSUSE:Leap 15.1 |
before 0.74.3-bp150.3.3.1 | 0.74.3-bp150.3.3.1 |
dosboxSUSE:Package Hub 15 SP1 |
before 0.74.3-bp151.4.3.1 | 0.74.3-bp151.4.3.1 |
dosboxopenSUSE:Tumbleweed |
before 0.74.3-5.2 | 0.74.3-5.2 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
security-tracker.debian.org/tracker/CVE-2019-7165
dosbox.com
lists.debian.org/debian-lts-announce/2019/07/msg00004.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PYV27Z3QZTDHUZJLW3LDJYO7HBVIMJ5F
debian.org/security/2019/dsa-4478
seclists.org/bugtraq/2019/Jul/14
Show 15 moreShow less
lists.opensuse.org/opensuse-security-announce/2019-08/msg00047.html
lists.opensuse.org/opensuse-security-announce/2019-08/msg00053.html
nvd.nist.gov/vuln/detail/CVE-2019-7165
github.com/advisories/GHSA-p4fr-fcfj-54mh
advisories.mageia.org/MGASA-2019-0205.html
bugs.mageia.org/show_bug.cgi?id=25013
ubuntu.com/security/CVE-2019-7165
ubuntu.com/security/notices/USN-5356-1
cve.org/CVERecord?id=CVE-2019-7165
ubuntu.com/security/CVE-2019-12594
lists.opensuse.org/archives/list/[email protected]/thread/NVX4GYW7OLUYCATD3XTOCGFTXKEEAYYP
bugzilla.suse.com/1140254
suse.com/security/cve/CVE-2019-12594
suse.com/security/cve/CVE-2019-7165
lists.opensuse.org/archives/list/[email protected]/thread/UPDRBLIDO5U3CUPDW6HCUJL2MTXAQWIL