CVE-2025-31176Gnuplot: gnuplot segmentation fault on plot3d_points
A flaw was found in gnuplot. The plot3d_points() function may lead to a segmentation fault and cause a system crash.
What to do
Fixed builds are available from Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | gnuplot | Fixed | 6.0.2+dfsg1-2ubuntu1 | UBUNTU-CVE-2025-31176 |
| Ubuntu 25.10 | gnuplot | Fixed | 6.0.2+dfsg1-2ubuntu1 | UBUNTU-CVE-2025-31176 |
| Ubuntu 24.04 | gnuplot | Fix pending | 6.0.0+dfsg1-1ubuntu3+esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-31176 |
| Ubuntu 22.04 | gnuplot | Fix pending | 5.4.2+dfsg2-2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-31176 |
| Ubuntu 20.04 | gnuplot | Fix pending | 5.2.8+dfsg1-2ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-31176 |
| Ubuntu 18.04 | gnuplot | Fix pending | 5.2.2+dfsg1-2ubuntu1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-31176 |
| Debian 14 | gnuplot | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2025-31176 | |
| Debian 13 | gnuplot | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2025-31176 | |
| Debian 12 | gnuplot | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2025-31176 | |
| Red Hat Enterprise Linux 8 | gnuplot | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 8 | gnuplot-common | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 8 | gnuplot-doc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | emacs-gnuplot | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | emacs-gnuplot-el | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | gnuplot | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | gnuplot-common | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | gnuplot-doc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | gnuplot-latex | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | gnuplot-minimal | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | emacs-gnuplot | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | emacs-gnuplot-el | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gnuplot | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gnuplot-common | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gnuplot-doc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gnuplot-latex | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gnuplot-minimal | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- gnuplot: affected: before 6.0; fixed in
6.0 - Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Workaround: Currently, no mitigation is available for this vulnerability.
References
- https://access.redhat.com/security/cve/CVE-2025-31176
- https://bugzilla.redhat.com/show_bug.cgi?id=2355343
- https://sourceforge.net/p/gnuplot/bugs/2776/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.