Vulnerability · Published May 7, 2025 · Assigned by redhat

CVE-2025-31177Gnuplot: gnuplot heap-buffer overflow on utf8_copy_one

Medium 5.5

In plain English

A medium-severity heap buffer overflow in gnuplot. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.2%top 89.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12gnuplotno fix listedDEBIAN-CVE-2025-31177
Debian:13gnuplotno fix listedDEBIAN-CVE-2025-31177
Debian:14gnuplotno fix listedDEBIAN-CVE-2025-31177
Ubuntu:25.10gnuplot6.0.2+dfsg1-2ubuntu1UBUNTU-CVE-2025-31177
Ubuntu:26.04:LTSgnuplot6.0.2+dfsg1-2ubuntu1UBUNTU-CVE-2025-31177

Affected products (as reported)

VendorProductVersions
gnuplot 0 – before 6.0
Red Hat Red Hat Enterprise Linux 6 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 8 see references

Weakness: CWE-122 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References