
CVE catalog
CVE-2017-6363
libgd2: CVE-2017-6363
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.40% · Oct 25, 2026
In the GD Graphics Library (aka LibGD) through 2.2.5, there is a heap-based buffer over-read in tiffWriter in gd_tiff.c. NOTE: the vendor says "In my opinion this issue should not have a CVE, since the GD and GD2 formats are documented to be 'obsolete, and should only be used for development and testing purposes.'
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libgd2 | sid | 2.3.3-14 | fixed |
| Debian | libgd2 | forky | 2.3.3-14 | fixed |
| Debian | libgd2 | trixie | 2.3.3-14~deb13u1 | fixed |
| Debian | libgd2 | trixie-security | 2.3.3-14~deb13u1 | fixed |
| Debian | libgd2 | bookworm | 2.3.3-9 | fixed |
| Debian | libgd2 | bookworm-security | 2.3.3-9+deb12u1 | fixed |
| Ubuntu | libgd2 | pro | 2.1.1-4build1 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4build2 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.1 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.2 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.3 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.5 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.6 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.7 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.8 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.10 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.11 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.12 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.12+esm1 | fixed |
| Ubuntu | libgd2 | 18.04 | 2.2.5-3 | vulnerable |
| Ubuntu | libgd2 | 18.04 | 2.2.5-4 | vulnerable |
| Ubuntu | libgd2 | 18.04 | 2.2.5-4ubuntu0.2 | vulnerable |
| Ubuntu | libgd2 | 18.04 | 2.2.5-4ubuntu0.3 | vulnerable |
| Ubuntu | libgd2 | 18.04 | 2.2.5-4ubuntu0.4 | vulnerable |
| Ubuntu | libgd2 | 18.04 | 2.2.5-4ubuntu0.5 | fixed |
| Ubuntu | libgd2 | 20.04 | 2.2.5-5.2 | vulnerable |
| Ubuntu | libgd2 | 20.04 | 2.2.5-5.2ubuntu2 | vulnerable |
| Ubuntu | libgd2 | 20.04 | 2.2.5-5.2ubuntu2.1 | fixed |
| Alpine | gd | 3.11 | 2.2.5-r4 | fixed |
| Alpine | gd | 3.12 | 2.3.0-r0 | fixed |
| Alpine | gd | 3.13 | 2.3.0-r0 | fixed |
| Alpine | gd | 3.14 | 2.3.0-r0 | fixed |
| Alpine | gd | 3.15 | 2.3.0-r0 | fixed |
| Alpine | gd | 3.16 | 2.3.0-r0 | fixed |
| Alpine | gd | 3.17 | 2.3.0-r0 | fixed |
| Alpine | gd | 3.18 | 2.3.0-r0 | fixed |
| Alpine | gd | 3.19 | 2.3.0-r0 | fixed |
| Alpine | gd | 3.20 | 2.3.0-r0 | fixed |
| Alpine | gd | 3.21 | 2.3.0-r0 | fixed |
| Alpine | gd | 3.22 | 2.3.0-r0 | fixed |
| Alpine | gd | 3.23 | 2.3.0-r0 | fixed |
| Alpine | gd | 3.24 | 2.3.0-r0 | fixed |
| Ubuntu | libgd2 | pro | 2.1.1-4build1 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4build2 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.1 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.2 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.3 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.5 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.6 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.7 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.8 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.10 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.11 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.12 | vulnerable |
| Ubuntu | libgd2 | pro | 2.1.1-4ubuntu0.16.04.12+esm1 | fixed |
| Ubuntu | libgd2 | 18.04 | 2.2.5-3 | vulnerable |
| Ubuntu | libgd2 | 18.04 | 2.2.5-4 | vulnerable |
| Ubuntu | libgd2 | 18.04 | 2.2.5-4ubuntu0.2 | vulnerable |
| Ubuntu | libgd2 | 18.04 | 2.2.5-4ubuntu0.3 | vulnerable |
| Ubuntu | libgd2 | 18.04 | 2.2.5-4ubuntu0.4 | vulnerable |
| Ubuntu | libgd2 | 18.04 | 2.2.5-4ubuntu0.5 | fixed |
| Ubuntu | libgd2 | 20.04 | 2.2.5-5.2 | vulnerable |
| Ubuntu | libgd2 | 20.04 | 2.2.5-5.2ubuntu2 | vulnerable |
| Ubuntu | libgd2 | 20.04 | 2.2.5-5.2ubuntu2.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libgd2 | source | sid | 2.3.0-1 | not yet assigned | Not reported | Not reported |
| Debian | libgd2 | source | forky | 2.3.0-1 | not yet assigned | Not reported | Not reported |
| Debian | libgd2 | source | trixie | 2.3.0-1 | not yet assigned | Not reported | Not reported |
| Debian | libgd2 | source | bookworm | 2.3.0-1 | not yet assigned | Not reported | Not reported |
| Ubuntu | libgd2 | deb | pro | 2.1.1-4ubuntu0.16.04.12+esm1 | Not reported | USN-5068-1 | Not reported |
| Ubuntu | libgd2 | deb | 18.04 | 2.2.5-4ubuntu0.5 | Not reported | USN-5068-1 | Not reported |
| Ubuntu | libgd2 | deb | 20.04 | 2.2.5-5.2ubuntu2.1 | Not reported | USN-5068-1 | Not reported |
| Alpine | gd | apk | 3.11 | 2.2.5-r4 | Not reported | ALPINE-CVE-2017-6363 | Not reported |
| Alpine | gd | apk | 3.12 | 2.3.0-r0 | Not reported | ALPINE-CVE-2017-6363 | Not reported |
| Alpine | gd | apk | 3.13 | 2.3.0-r0 | Not reported | ALPINE-CVE-2017-6363 | Not reported |
| Alpine | gd | apk | 3.14 | 2.3.0-r0 | Not reported | ALPINE-CVE-2017-6363 | Not reported |
| Alpine | gd | apk | 3.15 | 2.3.0-r0 | Not reported | ALPINE-CVE-2017-6363 | Not reported |
| Alpine | gd | apk | 3.16 | 2.3.0-r0 | Not reported | ALPINE-CVE-2017-6363 | Not reported |
| Alpine | gd | apk | 3.17 | 2.3.0-r0 | Not reported | ALPINE-CVE-2017-6363 | Not reported |
| Alpine | gd | apk | 3.18 | 2.3.0-r0 | Not reported | ALPINE-CVE-2017-6363 | Not reported |
| Alpine | gd | apk | 3.19 | 2.3.0-r0 | Not reported | ALPINE-CVE-2017-6363 | Not reported |
| Alpine | gd | apk | 3.20 | 2.3.0-r0 | Not reported | ALPINE-CVE-2017-6363 | Not reported |
| Alpine | gd | apk | 3.21 | 2.3.0-r0 | Not reported | ALPINE-CVE-2017-6363 | Not reported |
| Alpine | gd | apk | 3.22 | 2.3.0-r0 | Not reported | ALPINE-CVE-2017-6363 | Not reported |
| Alpine | gd | apk | 3.23 | 2.3.0-r0 | Not reported | ALPINE-CVE-2017-6363 | Not reported |
| Alpine | gd | apk | 3.24 | 2.3.0-r0 | Not reported | ALPINE-CVE-2017-6363 | Not reported |
| Ubuntu | libgd2 | deb | pro | 2.1.1-4ubuntu0.16.04.12+esm1 | Not reported | UBUNTU-CVE-2017-6363 | Not reported |
| Ubuntu | libgd2 | deb | 18.04 | 2.2.5-4ubuntu0.5 | Not reported | UBUNTU-CVE-2017-6363 | Not reported |
| Ubuntu | libgd2 | deb | 20.04 | 2.2.5-5.2ubuntu2.1 | Not reported | UBUNTU-CVE-2017-6363 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libgd3]Unknown
Source package: [libgd2]
Details (4)
2.3.3-9· amd64 · bookwormFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9· arm64 · bookwormFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9+deb12u1· amd64 · bookworm-securityFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9+deb12u1· arm64 · bookworm-securityFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
- [libgd-dev]Unknown
Source package: [libgd2]
Details (4)
2.3.3-9· amd64 · bookwormFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9· arm64 · bookwormFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9+deb12u1· amd64 · bookworm-securityFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9+deb12u1· arm64 · bookworm-securityFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
- [libgd-tools]Unknown
Source package: [libgd2]
Details (4)
2.3.3-9· amd64 · bookwormFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9· arm64 · bookwormFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9+deb12u1· amd64 · bookworm-securityFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
2.3.3-9+deb12u1· arm64 · bookworm-securityFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12
[Debian 13 (Trixie)]
- [libgd3]Unknown
Source package: [libgd2]
Details (4)
2.3.3-13· amd64 · trixieFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · 13
2.3.3-13· arm64 · trixieFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · 13
2.3.3-14~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · 13
2.3.3-14~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · 13
- [libgd-dev]Unknown
Source package: [libgd2]
Details (4)
2.3.3-13· amd64 · trixieFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · 13
2.3.3-13· arm64 · trixieFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · 13
2.3.3-14~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · 13
2.3.3-14~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · 13
- [libgd-tools]Unknown
Source package: [libgd2]
Details (4)
2.3.3-13· amd64 · trixieFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · 13
2.3.3-13· arm64 · trixieFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · 13
2.3.3-14~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · 13
2.3.3-14~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.3.0-1dsa · libgd2 · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/ALPINE-CVE-2017-6363]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2017-6363]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-6363]
- [https://osv.dev/vulnerability/USN-5068-1]
- [https://security-tracker.debian.org/tracker/CVE-2017-6363]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]