Skip to content
Heist/ feed
Back to feed
HighFix available

gnuplot — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2018-19491

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.

Products
gnuplot
Affected versions
Not specified
Fixed versions
5.4.0+dfsg1-1
CVEs
CVE-2018-19491
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:11 UTC · Revision 1

Source evidence

DEBIAN-CVE-2018-19491

core-osv · Original source

Published 23 Nov 2018, 17:29 UTC

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.

osv:DEBIAN-CVE-2018-19491

gnuplot

Fixed versions: 5.4.0+dfsg1-1

gnuplot

Fixed versions: 5.4.0+dfsg1-1

gnuplot

Fixed versions: 5.4.0+dfsg1-1

Complete source record
{
  "id": "84bf9079026f2b817a2458ea3647ec9747940f73dc92a9e6777430331f00c930",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-19491",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2018-19491",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2018-19491",
    "products": [
      {
        "name": {
          "value": "gnuplot",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.0+dfsg1-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "gnuplot",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.0+dfsg1-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "gnuplot",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.0+dfsg1-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2018-19491",
      "aliases": [
        "DEBIAN-CVE-2018-19491"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.4.0+dfsg1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "gnuplot",
            "purl": "pkg:deb/debian/gnuplot?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-19491.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.4.0+dfsg1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "gnuplot",
            "purl": "pkg:deb/debian/gnuplot?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-19491.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.4.0+dfsg1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "gnuplot",
            "purl": "pkg:deb/debian/gnuplot?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-19491.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        }
      ],
      "modified": "2026-10-23T18:03:04.248738513Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-19491"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2018-19491"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-19491",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 420305,
  "published_at": "2018-11-23T17:29:00.347+00:00"
}