---
id: CVE-2025-31176
title: A flaw was found in gnuplot
summary: >-
  A flaw was found in gnuplot. The plot3d_points() function may lead to a
  segmentation fault and cause a system crash.
severity: medium
cvss: 6.2
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-476
vendor: gnuplot
product: gnuplot
affected:
  - gnuplot < 6.0.0
patched:
  - gnuplot 6.0.0
published: '2025-03-27'
updated: '2026-06-26'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-31176'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2025-31176'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2355343'
    label: secalert@redhat.com
  - url: 'https://sourceforge.net/p/gnuplot/bugs/2776/'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00195
epssPercentile: 0.08129
ingestedAt: '2026-06-26T16:43:13.547Z'
---

## Overview

A flaw was found in gnuplot. The plot3d_points() function may lead to a segmentation fault and cause a system crash.

## Affected

- `gnuplot < 6.0.0`

## Remediation

Upgrade past the affected range:

- `gnuplot 6.0.0`
