com_line() in command.c in gnuplot 5.4 leads to an out-of-bounds-write from strncpy()…
Priority MEDIUM 47CWE-787Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
com_line() in command.c in gnuplot 5.4 leads to an out-of-bounds-write from strncpy() that may lead to arbitrary code execution.
Why it matters now
EPSS 0.02631 85th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 4 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2020-25412
- 2026-10-03 Alias added: GHSA-fw2x-mx3p-5gr5
References
More Gnuplot vulnerabilities
- TI-2020-15885 gnuplot v5.5 was discovered to contain a buffer overflow via the function plotrequest(). CVSS 3.1CRITICAL 9.8
- TI-2018-13799 An issue was discovered in cairo.trm in Gnuplot 5.2.5. CVSS 3.0HIGH 7.8
- TI-2018-13798 An issue was discovered in post.trm in Gnuplot 5.2.5. CVSS 3.0HIGH 7.8
- TI-2018-13797 An issue was discovered in datafile.c in Gnuplot 5.2.5. CVSS 3.0HIGH 7.8
- TI-2020-15593 gnuplot 5.5 is affected by double free when executing print_set_output. CVSS 3.1HIGH 7.8
- TI-2017-07064 An uninitialized stack variable vulnerability in load_tic_series() in set.c in gnuplot… CVSS 3.0HIGH 7.8
Sources
- CVE-2020-25412 · CVE Program
- CVE-2020-25412 · NVD
- FIRST EPSS
- GHSA-fw2x-mx3p-5gr5 · GitHub Advisory Database · CC BY 4.0
- CVE-2020-25412 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences