Description
gnuplot 5.5 is affected by double free when executing print_set_output. This may result in context-dependent arbitrary code execution.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gnuplot | 6.0.0+dfsg1-1 | — |
| Debian 13 | gnuplot | 6.0.0+dfsg1-1 | — |
| Debian 12 | gnuplot | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | gnuplot | 5.2.8+dfsg1-2ubuntu0.1~esm1 | USN-7589-1 |
| Ubuntu Pro 18.04 LTS | gnuplot | 5.2.2+dfsg1-2ubuntu1+esm1 | USN-7589-1 |
| Ubuntu Pro 16.04 LTS | gnuplot | 4.6.6-3ubuntu0.1+esm1 | USN-7589-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | gnuplot | 4.6.4-2ubuntu0.1~esm1 | USN-7589-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | gnuplot | 5.2.2-3.6.1 | SUSE-SU-2021:0549-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gnuplot | 5.4.2-1.3 | openSUSE-SU-2024:10800-1 |
| openSUSE Leap 15.2 | gnuplot | 5.2.2-lp152.6.3.1 | openSUSE-SU-2021:0345-1 |
Advisories 4
- USN-7589-1 gnuplot vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- openSUSE-SU-2024:10800-1 gnuplot-5.4.2-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0549-1 Security update for gnuplot SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0345-1 Security update for gnuplot SUSE / openSUSE Security Updates · Feb 4, 2026