CVE-2025-31176 Gnuplot: gnuplot segmentation fault on plot3d_points

Medium 6.2 Published Updated

A segmentation fault in Gnuplot's plot3d_points function allows attackers to cause a system crash via crafted input.

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-31176?

CVE-2025-31176 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 plot3d_points() function may lead to a segmentation fault and cause a system crash.

Weakness: CWE-476

Which versions are affected by CVE-2025-31176?

It affects 1 product.

Products include Gnuplot Gnuplot.

How do I fix CVE-2025-31176?

Apply the vendor's patch.

Is CVE-2025-31176 being exploited?

There is no known exploitation of CVE-2025-31176 in the wild and no public exploit code.

Sources

Also known as AZL-59297, AZL-59324, DEBIAN-CVE-2025-31176, GHSA-hp5r-frgx-32v8, JLSEC-2026-355, UBUNTU-CVE-2025-31176.

Is CVE-2025-31176 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free