Vulnerability · Published Mar 27, 2025 · Assigned by redhat
CVE-2025-31181Gnuplot: gnuplot segmentation fault on x11_graphics
Medium 6.2
In plain English
A medium-severity null pointer dereference 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 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.2%top 90.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
A flaw was found in gnuplot. The X11_graphics() function may lead to a segmentation fault and cause a system crash.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | gnuplot | no fix listed | DEBIAN-CVE-2025-31181 |
| Debian:13 | gnuplot | no fix listed | DEBIAN-CVE-2025-31181 |
| Debian:14 | gnuplot | no fix listed | DEBIAN-CVE-2025-31181 |
| Ubuntu:25.10 | gnuplot | 6.0.2+dfsg1-2ubuntu1 | UBUNTU-CVE-2025-31181 |
| Ubuntu:26.04:LTS | gnuplot | 6.0.2+dfsg1-2ubuntu1 | UBUNTU-CVE-2025-31181 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| gnuplot | 0 – before 6.1 | |
| 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-476 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://access.redhat.com/security/cve/CVE-2025-31181 vdb-entry, x_refsource_REDHAT
- RHBZ#2355338 issue-tracking, x_refsource_REDHAT
- https://sourceforge.net/p/gnuplot/bugs/2753/