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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | gnuplot | no fix listed | DEBIAN-CVE-2025-31177 |
| Debian:13 | gnuplot | no fix listed | DEBIAN-CVE-2025-31177 |
| Debian:14 | gnuplot | no fix listed | DEBIAN-CVE-2025-31177 |
| Ubuntu:25.10 | gnuplot | 6.0.2+dfsg1-2ubuntu1 | UBUNTU-CVE-2025-31177 |
| Ubuntu:26.04:LTS | gnuplot | 6.0.2+dfsg1-2ubuntu1 | UBUNTU-CVE-2025-31177 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://access.redhat.com/security/cve/CVE-2025-31177 vdb-entry, x_refsource_REDHAT
- RHBZ#2355342 issue-tracking, x_refsource_REDHAT
- https://sourceforge.net/p/gnuplot/bugs/2756/