CVE-2025-31180 Gnuplot: gnuplot segmentation fault on canvas_text

Medium 6.2 Published Updated

A segmentation fault in Gnuplot's canvas_text 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-31180?

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

Weakness: CWE-476

Which versions are affected by CVE-2025-31180?

It affects 1 product.

Products include Gnuplot Gnuplot.

How do I fix CVE-2025-31180?

Apply the vendor's patch.

Is CVE-2025-31180 being exploited?

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

Sources

Also known as AZL-110394, DEBIAN-CVE-2025-31180, GHSA-85vr-qp4r-xf3g, JLSEC-2026-358, UBUNTU-CVE-2025-31180.

Is CVE-2025-31180 in your software?

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

Check your SBOMs for free