---
title: "CVE-2018-11236\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-11236?format=md
keywords: index, follow
---

# CVE-2018-11236

Publication date 18 May 2018

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**9.8 · Critical**

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

Toggle side navigation

## Description

stdlib/canonicalize.c in the GNU C Library (aka glibc or libc6) 2.27 and
earlier, when processing very long pathname arguments to the realpath
function, could encounter an integer overflow on 32-bit architectures,
leading to a stack-based buffer overflow and, potentially, arbitrary code
execution.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| eglibc | 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.10 kinetic | Not in release |
| 22.04 LTS jammy | Not in release |
| 21.10 impish | Not in release |
| 21.04 hirsute | Not in release |
| 20.10 groovy | Not in release |
| 20.04 LTS focal | Not in release |
| 19.10 eoan | Not in release |
| 19.04 disco | Not in release |
| 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Fixed 2.19-0ubuntu6.15+esm3  Ubuntu Pro |
| glibc | 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Not affected |
| 22.10 kinetic | Not affected |
| 22.04 LTS jammy | Not affected |
| 21.10 impish | Not affected |
| 21.04 hirsute | Not affected |
| 20.10 groovy | Not affected |
| 20.04 LTS focal | Not affected |
| 19.10 eoan | Not affected |
| 19.04 disco | Not affected |
| 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Fixed 2.27-3ubuntu1.2 |
| 17.10 artful | Ignored end of life |
| 16.04 LTS xenial | Fixed 2.23-0ubuntu11.2 |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2018-11236?format=md#patch-details)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| glibc | * Upstream:   <https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5460617d1567657621107d895ee2dd83bc1f88f2> * Upstream:   <https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f19e67884c55c2dac6db3b146d80a769e322ecbe> * Upstream:   <https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=af7519f7b35024224c163e32a89fb247b0c446fc> * Upstream:   <https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ff52a12250bd381aaef91edc0269f6e3e79d20ac> |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.8 · Critical

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.8 · Critical |
  | Exploitability score | - |
  | Impact score | - |

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-4416-1](https://usn.ubuntu.com/USN-4416-1)
+ GNU C Library vulnerabilities
+ 6 July 2020

+ [USN-6762-1](https://usn.ubuntu.com/USN-6762-1)
+ GNU C Library vulnerabilities
+ 2 May 2024

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2018-11236>
