CVE-2025-31177: gnuplot Heap-based Buffer Overflow
CVSS: 5.5v3.1MediumModified
AliasesUBUNTU-CVE-2025-31177DEBIAN-CVE-2025-31177
Published 07-05-2025Last modified 25-06-2026
Vulnerability summary
CVE-2025-31177 is a medium (CVSS 5.5) Heap-based Buffer Overflow vulnerability in gnuplot. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 10.2% of scored vulnerabilities.
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)EPSS score
0.21%
0%100%
Low · +0.01 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 4 · Related 4Timeline
- 07-05-2025PublishedVulnerability first disclosed.
- 25-06-2026Last modifiedVulnerability information updated.
Description
gnuplot is affected by a heap buffer overflow at function utf8_copy_one.
CVSS metrics
4 scores · 4 sources · 1 versionMedium 5.5Preferred score · CVE.org (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HSourcesAll 4 agree
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
10%
Versus all other CVEs
30-day change
+0.01 pp
From 0.20% on 19-09-2026
19-09-202619-10-2026
EPSS score0.21%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- gnuplotAll versions (No fix recorded)
Gnuplot1 product
- gnuplot6.1.0
Ubuntu1 product
- gnuplot< 5.2.2+dfsg1-2ubuntu1+esm2 | < 5.2.8+dfsg1-2ubuntu0.1~esm2 | < 5.4.2+dfsg2-2ubuntu0.1~esm1 | < 6.0.0+dfsg1-1ubuntu3+esm1 | < 6.0.2+dfsg1-2ubuntu1
3 vendors · 3 products
References
7 links- bugzilla.redhat.com/show_bug.cgi?id=2355342Issue TrackingX Refsource REDHATREPORTThird Party Advisory