5.5

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.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.21%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 4

Timeline

  1. 07-05-2025
    PublishedVulnerability first disclosed.
  2. 25-06-2026
    Last modifiedVulnerability information updated.

Description

gnuplot is affected by a heap buffer overflow at function utf8_copy_one.

CVSS metrics

4 scores · 4 sources · 1 version

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 score
0.21%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • gnuplotAll versions (No fix recorded)
Gnuplot1 product
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