CVE-2025-31181: Gnuplot: gnuplot segmentation fault on x11_graphics
A flaw was found in gnuplot. The X11graphics() function may lead to a segmentation fault and cause a system crash.
Other sources
gnuplot 6.1 is affected by SEGV when executing function X11graphics. This may result in local code execution.
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-31181?
CVE-2025-31181 is considered a critical vulnerability as it can lead to a segmentation fault and potential local code execution.
How do I fix CVE-2025-31181?
To fix CVE-2025-31181, it is recommended to update Gnuplot to the latest available version that addresses the vulnerability.
Which versions of Gnuplot are affected by CVE-2025-31181?
Gnuplot version 6.1 is specifically mentioned as affected by CVE-2025-31181.
What could happen if CVE-2025-31181 is exploited?
If exploited, CVE-2025-31181 may result in a system crash or allow local code execution, posing a significant risk.
Is there a workaround for CVE-2025-31181 if I cannot update Gnuplot?
Currently, the best approach is to update Gnuplot; however, there may not be a reliable workaround to mitigate CVE-2025-31181.