CVE-2018-5392
publishedmingw-w64 version 5.0.4 by default produces executables that opt in to ASLR, but are not compatible with ASLR
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mingw | — | mingw-w645.0.4 | Affected | Not stated | certcc |
Description
mingw-w64 version 5.0.4 by default produces executables that opt in to ASLR, but are not compatible with ASLR. ASLR is an exploit mitigation technique used by modern Windows platforms. For ASLR to function, Windows executables must contain a relocations table. Despite containing the "Dynamic base" PE header, which indicates ASLR compatibility, Windows executables produced by mingw-w64 have the relocations table stripped from them by default. This means that executables produced by mingw-w64 are vulnerable to return-oriented programming (ROP) attacks. Windows executables generated by mingw-w64 claim to be ASLR compatible, but are not. Vulnerabilities in such executables are more easily exploitable as a result.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mingw | mingw-w64 | 5.0.4 (affected) | certcc · cna |
Weaknesses
1- CWE-824
References
1- VU#307144 https://www.kb.cert.org/vuls/id/307144
Provider assertions
2certcc · cna
mingw-w64 version 5.0.4 by default produces executables that opt in to ASLR, but are not compatible with ASLR
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1595564f696dff9390a6e68419c56b8a238d740fa4124bbfae76a814323a16b9
- Ingested
- 23 Sep 2026, 07:44:52 UTC
- Source record
- Official CVE record