Process interruption via malformed UTF-8 rendering
Published May 7, 2025 · Updated Jun 25, 2026
Heap-based buffer overflow in Gnuplot before 6.0 allows local users to terminate the process through malformed UTF-8 plot input. In term/dumb.trm, utf8_copy_one performs a four-byte write beyond the allocated terminal character grid while the dumb terminal renders invalid UTF-8. Exploitation requires local processing of a crafted plot file; the demonstrated consequence is process termination, with no reported confidentiality or integrity impact.
Summary
What happened
Heap-based buffer overflow in Gnuplot before 6.0 allows local users to terminate the process through malformed UTF-8 plot input. In term/dumb.trm, utf8_copy_one performs a four-byte write beyond the allocated terminal character grid while the dumb terminal renders invalid UTF-8. Exploitation requires local processing of a crafted plot file; the demonstrated consequence is process termination, with no reported confidentiality or integrity impact.
The record
- CVE
- CVE-2025-31177
- Published
- May 7, 2025
- Updated
- Jun 25, 2026
- Vendor
- Gnuplot
- Product
- Gnuplot
- Classifications
- CWE-122
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 7, 2025CVE publishedPublication date reported by the CVE source.
- Jun 25, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <6.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- HBO1 proof-of-concept inputproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo