High
Security advisory
An issue was discovered in cairo.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a buffer overflow with an arbitrary amount of data in the cairotrm_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 pngcairo terminal is used as a backend.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-19492
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:46 UTC · Revision 1
Source evidence
An issue was discovered in cairo.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a buffer overflow with an arbitrary amount of data in the cairotrm_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 pngcairo terminal is used as a backend.
osv:CVE-2018-19492
Complete source record
{
"id": "f44cd3c190e931546606980bedd8f4463c0a652837d8275c1167a2821dbd5d4c",
"url": "https://osv.dev/vulnerability/CVE-2018-19492",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-19492",
"summary": "An issue was discovered in cairo.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a buffer overflow with an arbitrary amount of data in the cairotrm_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 pngcairo terminal is used as a backend.",
"evidence": "osv:CVE-2018-19492",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-19492",
"aliases": [
"CVE-2018-19492"
],
"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-19492.json"
}
}
],
"modified": "2026-10-24T10:30:33.165399442Z",
"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/2089/"
],
"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-19492",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 433192,
"published_at": "2018-11-23T17:29:00.407+00:00"
}