CVEfocus › CVE database › CVE-2018-5392

CVE-2018-5392mingw-w64 version 5.0.4 by default produces executables that opt in to ASLR, but are not…

CVSS 7.5 HighEPSS 1.4% (higher than 73% of CVEs)Published 2018-08-14Updated 2024-08-05Assigner: certcc

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.

CWE-824

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fix pending
3Under investigation
8Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10mingw-w64Fix pendingUBUNTU-CVE-2018-5392
Ubuntu 26.04mingw-w64Under investigationUBUNTU-CVE-2018-5392
Ubuntu 25.10mingw-w64Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5392
Ubuntu 24.04mingw-w64Under investigationUBUNTU-CVE-2018-5392
Ubuntu 22.04mingw-w64Under investigationUBUNTU-CVE-2018-5392
Ubuntu 20.04mingw-w64Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5392
Ubuntu 18.04mingw-w64Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5392
Ubuntu 16.04mingw-w64Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5392
Ubuntu 14.04mingw-w64Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2018-5392
Debian 14mingw-w64Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2018-5392
Debian 13mingw-w64Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2018-5392
Debian 12mingw-w64Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2018-5392

What the vendor says

As published in the CVE record by certcc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.