Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-19490

An issue was discovered in datafile.c in Gnuplot 5.2.5. This issue allows an attacker to conduct a heap-based buffer overflow with an arbitrary amount of data in df_generate_ascii_array_entry. To exploit this vulnerability, an attacker must pass an overlong string as the right bound of the range argument that is passed to the plot function.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-19490
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:15 UTC · Revision 1

Source evidence

CVE-2018-19490

core-osv · Original source

Published 23 Nov 2018, 17:29 UTC

An issue was discovered in datafile.c in Gnuplot 5.2.5. This issue allows an attacker to conduct a heap-based buffer overflow with an arbitrary amount of data in df_generate_ascii_array_entry. To exploit this vulnerability, an attacker must pass an overlong string as the right bound of the range argument that is passed to the plot function.

osv:CVE-2018-19490
Complete source record
{
  "id": "634dd2ea83a2c58dc5e06da6d4383322f4365692e6c99403af14876673fc77d6",
  "url": "https://osv.dev/vulnerability/CVE-2018-19490",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-19490",
    "summary": "An issue was discovered in datafile.c in Gnuplot 5.2.5. This issue allows an attacker to conduct a heap-based buffer overflow with an arbitrary amount of data in df_generate_ascii_array_entry. To exploit this vulnerability, an attacker must pass an overlong string as the right bound of the range argument that is passed to the plot function.",
    "evidence": "osv:CVE-2018-19490",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-19490",
      "aliases": [
        "CVE-2018-19490"
      ],
      "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": [
            {
              "repo": "https://github.com/gnuplot/gnuplot",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3a62a7533537cab5e409fcd64f7ddc33d8915c32"
                },
                {
                  "last_affected": "3a62a7533537cab5e409fcd64f7ddc33d8915c32"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnuplot:gnuplot:5.2.5:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.2.5"
                      },
                      {
                        "last_affected": "5.2.5"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.2.5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19490.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:37.312683987Z",
      "provider": "osv",
      "references": [
        "https://usn.ubuntu.com/4541-1/",
        "https://lists.debian.org/debian-lts-announce/2018/11/msg00031.html",
        "https://lists.debian.org/debian-lts-announce/2018/11/msg00035.html",
        "https://sourceforge.net/p/gnuplot/gnuplot-main/ci/d5020716834582b20a5e12cdd49f39ee4f9dd949/",
        "https://sourceforge.net/p/gnuplot/bugs/2093/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:leap",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15.0"
                  },
                  {
                    "last_affected": "15.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-19490",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 434189,
  "published_at": "2018-11-23T17:29:00.267+00:00"
}