CVE-2025-31178 Gnuplot: gnuplot segmentation fault on getannotatestring
A null pointer dereference in Gnuplot's annotation handling causes a segmentation fault, leading to application crashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-31178?
CVE-2025-31178 is a medium-severity vulnerability in Red Hat Enterprise Linux 6, published on 27 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A flaw was found in gnuplot. The GetAnnotateString() function may lead to a segmentation fault and cause a system crash.
Weakness: CWE-476
Which versions are affected by CVE-2025-31178?
It affects 1 product.
Products include Gnuplot Gnuplot.
How do I fix CVE-2025-31178?
Apply the vendor's patch.
Is CVE-2025-31178 being exploited?
There is no known exploitation of CVE-2025-31178 in the wild and no public exploit code.
Other vulnerabilities in Red Hat Enterprise Linux 6
Sources
Also known as AZL-110391, DEBIAN-CVE-2025-31178, GHSA-xqc2-xvq9-7x34, JLSEC-2026-356, UBUNTU-CVE-2025-31178.