CVEfocus › CVE database › CVE-2025-31179

CVE-2025-31179Gnuplot: gnuplot segmentation fault on xstrftime

CVSS 6.2 MediumEPSS 0.3% (higher than 15% of CVEs)Published 2025-03-27Updated 2026-11-24Assigner: redhat

A flaw was found in gnuplot. The xstrftime() function may lead to a segmentation fault, causing a system crash.

CWE-476

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

2Fixed
6Fix pending
20Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04gnuplotFixed6.0.2+dfsg1-2ubuntu1UBUNTU-CVE-2025-31179
Ubuntu 25.10gnuplotFixed6.0.2+dfsg1-2ubuntu1UBUNTU-CVE-2025-31179
Ubuntu 24.04gnuplotFix pending6.0.0+dfsg1-1ubuntu3+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-31179
Ubuntu 22.04gnuplotFix pending5.4.2+dfsg2-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-31179
Ubuntu 20.04gnuplotFix pending5.2.8+dfsg1-2ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2025-31179
Ubuntu 18.04gnuplotFix pending5.2.2+dfsg1-2ubuntu1+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-31179
Ubuntu 16.04gnuplotFix pending4.6.6-3ubuntu0.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-31179
Ubuntu 14.04gnuplotFix pending4.6.4-2ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2025-31179
Debian 14gnuplotWill 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-31179
Debian 13gnuplotWill 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-31179
Debian 12gnuplotWill 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-31179
Red Hat Enterprise Linux 8gnuplotWill not fix
Out of support scope
Red Hat Enterprise Linux 8gnuplot-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 8gnuplot-docWill not fix
Out of support scope
Red Hat Enterprise Linux 7emacs-gnuplotWill not fix
Out of support scope
Red Hat Enterprise Linux 7emacs-gnuplot-elWill not fix
Out of support scope
Red Hat Enterprise Linux 7gnuplotWill not fix
Out of support scope
Red Hat Enterprise Linux 7gnuplot-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 7gnuplot-docWill not fix
Out of support scope
Red Hat Enterprise Linux 7gnuplot-latexWill not fix
Out of support scope
Red Hat Enterprise Linux 7gnuplot-minimalWill not fix
Out of support scope
Red Hat Enterprise Linux 6emacs-gnuplotWill not fix
Out of support scope
Red Hat Enterprise Linux 6emacs-gnuplot-elWill not fix
Out of support scope
Red Hat Enterprise Linux 6gnuplotWill not fix
Out of support scope
Red Hat Enterprise Linux 6gnuplot-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6gnuplot-docWill not fix
Out of support scope
Red Hat Enterprise Linux 6gnuplot-latexWill not fix
Out of support scope
Red Hat Enterprise Linux 6gnuplot-minimalWill 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.

Workaround: Currently, no mitigation is available for this vulnerability

References

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.