CVE-2018-5392
Reported by certcc · Published August 14, 2018
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.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| mingw | mingw-w64 | 5.0.4 |
| mingw | mingw-w64 | 5.0.4 |
Timeline
- Aug 14, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Apr 7, 2026 Security Advisory (2 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Sep 19, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-5392
vulnetix vdb fixes CVE-2018-5392
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-5392/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- VU#307144 third-party-advisoryx_refsource_CERT-VN