ubuntu-cve-2018-19491
Vulnerability from osv_ubuntu
Published
2018-11-23 17:29
Modified
2025-10-24 04:47
Summary
Details

An issue was discovered in post.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a buffer overflow with an arbitrary amount of data in the PS_options function. This flaw is caused by a missing size check of an argument passed to the "set font" function. This issue occurs when the Gnuplot postscript terminal is used as a backend.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "gnuplot",
            "binary_version": "4.6.4-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "gnuplot-nox",
            "binary_version": "4.6.4-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "gnuplot-qt",
            "binary_version": "4.6.4-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "gnuplot-x11",
            "binary_version": "4.6.4-2ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "gnuplot",
        "purl": "pkg:deb/ubuntu/gnuplot@4.6.4-2ubuntu0.1~esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.6.4-2ubuntu0.1~esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.6.3-2",
        "4.6.4-1",
        "4.6.4-2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gnuplot",
            "binary_version": "4.6.6-3ubuntu0.1"
          },
          {
            "binary_name": "gnuplot-data",
            "binary_version": "4.6.6-3ubuntu0.1"
          },
          {
            "binary_name": "gnuplot-nox",
            "binary_version": "4.6.6-3ubuntu0.1"
          },
          {
            "binary_name": "gnuplot-qt",
            "binary_version": "4.6.6-3ubuntu0.1"
          },
          {
            "binary_name": "gnuplot-tex",
            "binary_version": "4.6.6-3ubuntu0.1"
          },
          {
            "binary_name": "gnuplot-x11",
            "binary_version": "4.6.6-3ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "gnuplot",
        "purl": "pkg:deb/ubuntu/gnuplot@4.6.6-3ubuntu0.1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.6.6-3ubuntu0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.6.6-2",
        "4.6.6-3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gnuplot5",
            "binary_version": "5.0.3+dfsg2-1"
          },
          {
            "binary_name": "gnuplot5-data",
            "binary_version": "5.0.3+dfsg2-1"
          },
          {
            "binary_name": "gnuplot5-nox",
            "binary_version": "5.0.3+dfsg2-1"
          },
          {
            "binary_name": "gnuplot5-qt",
            "binary_version": "5.0.3+dfsg2-1"
          },
          {
            "binary_name": "gnuplot5-x11",
            "binary_version": "5.0.3+dfsg2-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "gnuplot5",
        "purl": "pkg:deb/ubuntu/gnuplot5@5.0.3+dfsg2-1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.0.1+dfsg1-3",
        "5.0.2+dfsg1-1",
        "5.0.2+dfsg1-2",
        "5.0.3+dfsg1-1",
        "5.0.3+dfsg1-2",
        "5.0.3+dfsg2-1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "gnuplot",
            "binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
          },
          {
            "binary_name": "gnuplot-data",
            "binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
          },
          {
            "binary_name": "gnuplot-nox",
            "binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
          },
          {
            "binary_name": "gnuplot-qt",
            "binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
          },
          {
            "binary_name": "gnuplot-x11",
            "binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "gnuplot",
        "purl": "pkg:deb/ubuntu/gnuplot@5.2.2+dfsg1-2ubuntu1+esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.2.2+dfsg1-2ubuntu1+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.0.7+dfsg1-1",
        "5.2.2+dfsg1-2",
        "5.2.2+dfsg1-2ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "An issue was discovered in post.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a buffer overflow with an arbitrary amount of data in the PS_options function. This flaw is caused by a missing size check of an argument passed to the \"set font\" function. This issue occurs when the Gnuplot postscript terminal is used as a backend.",
  "id": "UBUNTU-CVE-2018-19491",
  "modified": "2025-10-24T04:47:16Z",
  "published": "2018-11-23T17:29:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2018-19491"
    },
    {
      "type": "REPORT",
      "url": "https://sourceforge.net/p/gnuplot/bugs/2094/"
    },
    {
      "type": "REPORT",
      "url": "https://sourceforge.net/p/gnuplot/gnuplot-main/ci/d5020716834582b20a5e12cdd49f39ee4f9dd949/"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-4541-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2018-19491"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7589-1"
    }
  ],
  "related": [
    "USN-4541-1",
    "USN-7589-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2018-19491"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…