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

# CVE-2018-18751

Publication date 29 October 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-18751?format=md#impact-score)

Toggle side navigation

## Description

An issue was discovered in GNU gettext 0.19.8. There is a double free in
default\_add\_message in read-catalog.c, related to an invalid free in
po\_gram\_parse in po-gram-gen.y, as demonstrated by lt-msgfmt.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| gettext | 18.10 cosmic | Fixed 0.19.8.1-8ubuntu0.1 |
| 18.04 LTS bionic | Fixed 0.19.8.1-6ubuntu0.1 |
| 16.04 LTS xenial | Fixed 0.19.7-2ubuntu3.1 |
| 14.04 LTS trusty | Fixed 0.18.3.1-1ubuntu3.1 |

---

* [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-18751?format=md#patch-details)

### 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 |
| --- | --- |
| gettext | * Upstream:   <https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=dce3a16e5e9368245735e29bf498dcd5e3e474a4> |

## 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-18751)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-18751)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-18751)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-18751)

### Related Ubuntu Security Notices (USN)

+ [USN-3815-1](https://usn.ubuntu.com/USN-3815-1)
+ gettext vulnerability
+ 12 November 2018

+ [USN-3815-2](https://usn.ubuntu.com/USN-3815-2)
+ gettext vulnerability
+ 12 November 2018

### Other references

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