CVE-2018-5392
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.
EPSS 0.25% · 48.5th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:20.04:LTS | mingw-w64 | 0, 7.0.0-2, 6.0.0-4 |
| Ubuntu:14.04:LTS | mingw-w64 | 0, 3.0~svn5915-1, 3.0.0-3 |
| Ubuntu:24.04:LTS | mingw-w64 | 0, 11.0.1-2, 11.0.1-3 |
| Ubuntu:22.04:LTS | mingw-w64 | 0, 8.0.0-1 |
| Ubuntu:25.10 | mingw-w64 | 0, 12.0.0-3 |
| Ubuntu:18.04:LTS | mingw-w64 | 5.0.3-1, 0, 5.0.2-2 |
| Ubuntu:16.04:LTS | mingw-w64 | 0, 4.0.2-4, 4.0.4-2 |
Exploit Intelligence
- VU#307144 (circl)
Timeline
- Aug 14, 2018 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Feb 28, 2022 EPSS Score
- May 2, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 5, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
- Jan 8, 2023 EPSS Score
References
- https://ubuntu.com/security/CVE-2018-5392 third-party-advisory
- https://sourceforge.net/p/mingw-w64/mailman/message/31034877/ third-party-advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=17321 third-party-advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=19011 third-party-advisory
- https://www.kb.cert.org/vuls/id/307144 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2018-5392 third-party-advisory