Critical
Security advisory
A buffer overflow in the M_LoadDefaults function in m_misc.c in id Tech 1 (aka Doom engine) allows arbitrary code execution via an unsafe usage of fscanf, because it does not limit the number of characters to be read in a format argument.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-15007
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:33 UTC · Revision 1
Source evidence
A buffer overflow in the M_LoadDefaults function in m_misc.c in id Tech 1 (aka Doom engine) allows arbitrary code execution via an unsafe usage of fscanf, because it does not limit the number of characters to be read in a format argument.
osv:CVE-2020-15007
Complete source record
{
"id": "2bba1e65bee1387350fadcfba6be13bc1e09e588acae3e8983626668849942f5",
"url": "https://osv.dev/vulnerability/CVE-2020-15007",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-15007",
"summary": "A buffer overflow in the M_LoadDefaults function in m_misc.c in id Tech 1 (aka Doom engine) allows arbitrary code execution via an unsafe usage of fscanf, because it does not limit the number of characters to be read in a format argument.",
"evidence": "osv:CVE-2020-15007",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-15007",
"aliases": [
"CVE-2020-15007"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/axdoomer/doom-vanille",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "8a6d9a02fa991a91ff90ccdc73b5ceabaa6cb9ec"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:doom_vanille_project:doom_vanille:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "671"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "8a6d9a02fa991a91ff90ccdc73b5ceabaa6cb9ec"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"670",
"669",
"668",
"667",
"666"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15007.json",
"vanir_signatures": [
{
"id": "CVE-2020-15007-65cbcd42",
"digest": {
"threshold": 0.9,
"line_hashes": [
"85293061293636805416231508029694615802",
"71369627972608954247231714336559116903",
"46547365666147558129742222755009198095",
"78024321302976833542863994243450130317"
]
},
"source": "https://github.com/axdoomer/doom-vanille/commit/8a6d9a02fa991a91ff90ccdc73b5ceabaa6cb9ec",
"target": {
"file": "m_misc.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2020-15007-c63ceb02",
"digest": {
"length": 1402,
"function_hash": "237249339936689033424449235672978159146"
},
"source": "https://github.com/axdoomer/doom-vanille/commit/8a6d9a02fa991a91ff90ccdc73b5ceabaa6cb9ec",
"target": {
"file": "m_misc.c",
"function": "M_LoadDefaults"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:51:53Z"
}
}
],
"modified": "2026-10-20T13:51:53.409726294Z",
"provider": "osv",
"references": [
"https://twitter.com/notrevenant/status/1268654123903340544",
"https://github.com/AXDOOMER/doom-vanille/commit/8a6d9a02fa991a91ff90ccdc73b5ceabaa6cb9ec"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-15007",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388293,
"published_at": "2020-06-24T11:15:12.09+00:00"
}