Skip to content
Fencer Vulns
medium 5.5

CVE-2025-31177 json

Gnuplot: gnuplot heap-buffer overflow on utf8_copy_one

published 2025-05-07 18 mo ago modified 2026-11-05 4 d ago also EUVD-2025-13933

cvss
5.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 10%
public exploits
0
none known

Summary

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

Patch / fix

  • gnuplot Ubuntu 26.04 LTS, Ubuntu 25.10 6.0.2+dfsg1-2ubuntu1
  • gnuplot Ubuntu Pro 18.04 LTS 5.2.2+dfsg1-2ubuntu1+esm2
  • gnuplot Ubuntu Pro 20.04 LTS 5.2.8+dfsg1-2ubuntu0.1~esm2
  • gnuplot Ubuntu Pro 22.04 LTS 5.4.2+dfsg2-2ubuntu0.1~esm1
  • gnuplot Ubuntu Pro 24.04 LTS 6.0.0+dfsg1-1ubuntu3+esm1

ubuntu advisories UBUNTU-CVE-2025-31177

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • gnuplot SLE Module for Server Applications 15 SP7, SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 5.4.3-150400.3.3.1

suse advisories SUSE-SU-2025:01811-2SUSE-SU-2025:01811-1

  • gnuplot openSUSE Tumbleweed 6.0.2-3.1

opensuse advisories openSUSE-SU-2025:15134-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-31177 updated cvss 5.5

gnuplot: gnuplot heap-buffer overflow on utf8_copy_one

  • Red Hat Enterprise Linux 6 gnuplot, emacs-gnuplot, gnuplot-latex, gnuplot-common, gnuplot-minimal, emacs-gnuplot-el Red Hat Enterprise Linux 7 gnuplot, emacs-gnuplot, gnuplot-latex, gnuplot-common, gnuplot-minimal, emacs-gnuplot-el Red Hat Enterprise Linux 8 gnuplot, gnuplot-common
    affected: workaround, no fix planned “Currently, no mitigation is available for this vulnerability”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

0.21% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

  • Red Hat Red Hat Enterprise Linux 6
  • Red Hat Red Hat Enterprise Linux 7
  • Red Hat Red Hat Enterprise Linux 8

Classification

Weakness
  • CWE-122 Heap-based Buffer Overflow

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.