Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    UBUNTU-CVE-2018-18751 (CVE-2018-18751)

    Vulnerability from osv_ubuntu – Published: 2018-10-29 00:00 – Updated: 2026-11-24 09:42 – Source website
    VLAI
    Details

    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.

    Upstream
    Severity
    Impacted products
    Ecosystem Package Version
    Ubuntu:14.04:LTS gettext
    pkg:deb/ubuntu/gettext@0.18.3.1-1ubuntu3.1?arch=source&distro=trusty
    Affected: < 0.18.3.1-1ubuntu3.1 (ecosystem)
    0.18.1.1-10ubuntu30.18.3.1-1ubuntu10.18.3.1-1ubuntu20.18.3.1-1ubuntu3
    Ubuntu:16.04:LTS gettext
    pkg:deb/ubuntu/gettext@0.19.7-2ubuntu3.1?arch=source&distro=xenial
    Affected: < 0.19.7-2ubuntu3.1 (ecosystem)
    0.19.4-1ubuntu30.19.6-1ubuntu10.19.7-2ubuntu20.19.7-2ubuntu3
    Ubuntu:18.04:LTS gettext
    pkg:deb/ubuntu/gettext@0.19.8.1-6ubuntu0.1?arch=source&distro=bionic
    Affected: < 0.19.8.1-6ubuntu0.1 (ecosystem)
    0.19.8.1-4ubuntu10.19.8.1-4ubuntu20.19.8.1-4ubuntu40.19.8.1-6

    {
      "affected": [
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "autopoint",
                "binary_version": "0.18.3.1-1ubuntu3.1"
              },
              {
                "binary_name": "gettext",
                "binary_version": "0.18.3.1-1ubuntu3.1"
              },
              {
                "binary_name": "gettext-base",
                "binary_version": "0.18.3.1-1ubuntu3.1"
              },
              {
                "binary_name": "gettext-el",
                "binary_version": "0.18.3.1-1ubuntu3.1"
              },
              {
                "binary_name": "libasprintf0c2",
                "binary_version": "0.18.3.1-1ubuntu3.1"
              },
              {
                "binary_name": "libgettextpo0",
                "binary_version": "0.18.3.1-1ubuntu3.1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:14.04:LTS",
            "name": "gettext",
            "purl": "pkg:deb/ubuntu/gettext@0.18.3.1-1ubuntu3.1?arch=source\u0026distro=trusty"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.18.3.1-1ubuntu3.1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "0.18.1.1-10ubuntu3",
            "0.18.3.1-1ubuntu1",
            "0.18.3.1-1ubuntu2",
            "0.18.3.1-1ubuntu3"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "autopoint",
                "binary_version": "0.19.7-2ubuntu3.1"
              },
              {
                "binary_name": "gettext",
                "binary_version": "0.19.7-2ubuntu3.1"
              },
              {
                "binary_name": "gettext-base",
                "binary_version": "0.19.7-2ubuntu3.1"
              },
              {
                "binary_name": "gettext-el",
                "binary_version": "0.19.7-2ubuntu3.1"
              },
              {
                "binary_name": "libasprintf0v5",
                "binary_version": "0.19.7-2ubuntu3.1"
              },
              {
                "binary_name": "libgettextpo0",
                "binary_version": "0.19.7-2ubuntu3.1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:16.04:LTS",
            "name": "gettext",
            "purl": "pkg:deb/ubuntu/gettext@0.19.7-2ubuntu3.1?arch=source\u0026distro=xenial"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.19.7-2ubuntu3.1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "0.19.4-1ubuntu3",
            "0.19.6-1ubuntu1",
            "0.19.7-2ubuntu2",
            "0.19.7-2ubuntu3"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "autopoint",
                "binary_version": "0.19.8.1-6ubuntu0.1"
              },
              {
                "binary_name": "gettext",
                "binary_version": "0.19.8.1-6ubuntu0.1"
              },
              {
                "binary_name": "gettext-base",
                "binary_version": "0.19.8.1-6ubuntu0.1"
              },
              {
                "binary_name": "gettext-el",
                "binary_version": "0.19.8.1-6ubuntu0.1"
              },
              {
                "binary_name": "libasprintf0v5",
                "binary_version": "0.19.8.1-6ubuntu0.1"
              },
              {
                "binary_name": "libgettextpo0",
                "binary_version": "0.19.8.1-6ubuntu0.1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:18.04:LTS",
            "name": "gettext",
            "purl": "pkg:deb/ubuntu/gettext@0.19.8.1-6ubuntu0.1?arch=source\u0026distro=bionic"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.19.8.1-6ubuntu0.1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "0.19.8.1-4ubuntu1",
            "0.19.8.1-4ubuntu2",
            "0.19.8.1-4ubuntu4",
            "0.19.8.1-6"
          ]
        }
      ],
      "aliases": [],
      "details": "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.",
      "id": "UBUNTU-CVE-2018-18751",
      "modified": "2026-11-24T09:42:42Z",
      "published": "2018-10-29T00:00:00Z",
      "references": [
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2018-18751"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-3815-1"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-3815-2"
        },
        {
          "type": "REPORT",
          "url": "https://www.cve.org/CVERecord?id=CVE-2018-18751"
        }
      ],
      "related": [
        "USN-3815-1",
        "USN-3815-2"
      ],
      "schema_version": "1.9.2",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "source": "NVD",
          "type": "CVSS_V3"
        },
        {
          "score": "medium",
          "source": "SELF",
          "type": "Ubuntu"
        }
      ],
      "upstream": [
        "CVE-2018-18751"
      ]
    }