---
title: "CVE-2018-5392\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2018-5392?format=md
keywords: index, follow
---

# CVE-2018-5392

Publication date 14 August 2018

Last updated 11 July 2025

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.5 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2018-5392?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| mingw-w64 | 26.04 LTS resolute | Needs evaluation |
| 25.10 questing | Ignored end of life, was needs-triage |
| 25.04 plucky | Ignored end of life, was needs-triage |
| 24.10 oracular | Ignored end of life, was needs-triage |
| 24.04 LTS noble | Needs evaluation |
| 23.10 mantic | Ignored end of life, was needs-triage |
| 23.04 lunar | Ignored end of life, was needs-triage |
| 22.10 kinetic | Ignored end of life, was needs-triage |
| 22.04 LTS jammy | Needs evaluation |
| 21.10 impish | Ignored end of life |
| 21.04 hirsute | Ignored end of life |
| 20.10 groovy | Ignored end of life |
| 20.04 LTS focal | Needs evaluation |
| 19.10 eoan | Ignored end of life |
| 19.04 disco | Ignored end of life |
| 18.10 cosmic | Ignored end of life |
| 18.04 LTS bionic | Needs evaluation |
| 16.04 LTS xenial | Needs evaluation |
| 14.04 LTS trusty | Needs evaluation |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | High |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5392)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-5392)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-5392)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-5392)

### Other references

* <https://sourceforge.net/p/mingw-w64/mailman/message/31034877/>
* <https://sourceware.org/bugzilla/show_bug.cgi?id=17321>
* <https://sourceware.org/bugzilla/show_bug.cgi?id=19011>
* <https://www.kb.cert.org/vuls/id/307144 (describes workaround)>
* <https://www.cve.org/CVERecord?id=CVE-2018-5392>
