CVE-2017-18120
A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker...
A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.
- Record
CVE-2017-18120- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-415
- Updated
- 2026-11-02
CVE List No score
A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.
- Record
CVE-2017-18120- Updated
- 2026-11-02
EUVDEUVD-2017-9257 No score
A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.
- Record
EUVD-2017-9257- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6f9j-p2gf-3f72
7.8
A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker...
A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.
- Record
GHSA-6f9j-p2gf-3f72- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-415
- Updated
- 2026-11-02
OSV
7.8
A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.
- Record
CVE-2017-18120- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-18120
7.8
A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.
- Record
DEBIAN-CVE-2017-18120- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-18120
7.8
A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.
- Record
UBUNTU-CVE-2017-18120- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0280 No score
Updated gifsicle package fixes security vulnerability
Updated gifsicle package fixes security vulnerability:
A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled (CVE-2017-18120).
- Record
MGASA-2018-0280- Updated
- 2026-11-02
OSVUSN-4803-1 No score
gifsicle vulnerabilities
It was discovered that Gifsicle did not properly handle certain input. If a user were tricked into opening a malicious GIF, an attacker could potentially execute arbitrary code.
- Record
USN-4803-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gifsicleDebian:12 |
before 1.91-1 | 1.91-1 |
gifsicleDebian:13 |
before 1.91-1 | 1.91-1 |
gifsicleDebian:14 |
before 1.91-1 | 1.91-1 |
gifsicleMageia:6 |
before 1.88-1.2.mga6 | 1.88-1.2.mga6 |
gifsicleUbuntu:Pro:14.04:LTS |
before 1.78-1ubuntu0.1~esm1, plus listed versions 1.71-11.76-11.77-11.78-1 |
1.78-1ubuntu0.1~esm1 |
gifsicleUbuntu:Pro:16.04:LTS |
before 1.88-1ubuntu0.1~esm1, plus listed versions 1.88-1 |
1.88-1ubuntu0.1~esm1 |
gifsicleUbuntu:Pro:14.04:LTS From an advisory covering 2 CVEs |
before 1.78-1ubuntu0.1~esm1, plus listed versions 1.71-11.76-11.77-11.78-1 |
1.78-1ubuntu0.1~esm1 |
gifsicleUbuntu:Pro:16.04:LTS From an advisory covering 2 CVEs |
before 1.88-1ubuntu0.1~esm1, plus listed versions 1.88-1 |
1.88-1ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-18120 is a high vulnerability (CVSS 7.8) in Lcdf Gifsicle, published February 2, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.71%, the 77th percentile. Fixed in gifsicle 1.91-1.
References
bugs.debian.org/cgi-bin/bugreport.cgi?bug=878739
bugs.debian.org/cgi-bin/bugreport.cgi?bug=881120
github.com/kohler/gifsicle/issues/117
github.com/kohler/gifsicle/commit/118a46090c50829dc543179019e6140e1235f909
nvd.nist.gov/vuln/detail/CVE-2017-18120
github.com/advisories/GHSA-6f9j-p2gf-3f72
Show 9 moreShow less
security-tracker.debian.org/tracker/CVE-2017-18120
advisories.mageia.org/MGASA-2018-0280.html
bugs.mageia.org/show_bug.cgi?id=23134
lists.fedoraproject.org/archives/list/[email protected]/thread/BGGLSEKCDM2OZ67XRI7KOASI4G7PRUX2
ubuntu.com/security/CVE-2017-18120
github.com/kohler/gifsicle/commit/263cd4519f45bc6ecde74ee280eb1d68ee2de642
cve.org/CVERecord?id=CVE-2017-18120
ubuntu.com/security/notices/USN-4803-1
ubuntu.com/security/CVE-2017-1000421