
CVE catalog
CVE-2026-4985
A vulnerability was identified in dloebl CGIF up to 0.5.2. This vulnerability affects the function cgif_addframe of the file src/cgif.c of the component GIF Image Handler. The manipulation of the argu
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.50% · Oct 25, 2026
A vulnerability was identified in dloebl CGIF up to 0.5.2. This vulnerability affects the function cgif_addframe of the file src/cgif.c of the component GIF Image Handler. The manipulation of the argument width/height leads to integer overflow. The attack may be initiated remotely. The identifier of the patch is b0ba830093f4317a5d1f345715d2fa3cd2dab474. It is suggested to install a patch to address this issue.
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 | cgif | sid | 0.5.4-1 | fixed |
| Debian | cgif | forky | 0.5.4-1 | fixed |
| Debian | cgif | trixie | 0.5.0-1 | vulnerable |
| Debian | cgif | bookworm | 0.3.0-1 | vulnerable |
| Cpe | cgif | Not reported | Not reported | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cgif | source | sid | 0.5.3-1 | unimportant | Not reported | [1132167] |
| Debian | cgif | source | forky | 0.5.3-1 | unimportant | Not reported | [1132167] |
| Debian | cgif | source | trixie | (unfixed) | unimportant | Not reported | [1132167] |
| Debian | cgif | source | bookworm | (unfixed) | unimportant | Not reported | [1132167] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libcgif0]Affected
Source package: [cgif]
Details (2)
0.3.0-1· amd64 · bookwormAffected
nvd · cgif · debian · bookworm; nvd · cgif · debian · 12
0.3.0-1· arm64 · bookwormAffected
nvd · cgif · debian · bookworm; nvd · cgif · debian · 12
- [libcgif-dev]Affected
Source package: [cgif]
Details (2)
0.3.0-1· amd64 · bookwormAffected
nvd · cgif · debian · bookworm; nvd · cgif · debian · 12
0.3.0-1· arm64 · bookwormAffected
nvd · cgif · debian · bookworm; nvd · cgif · debian · 12
[Debian 13 (Trixie)]
- [libcgif0]Affected
Source package: [cgif]
Details (2)
0.5.0-1· amd64 · trixieAffected
nvd · cgif · debian · 13
0.5.0-1· arm64 · trixieAffected
nvd · cgif · debian · 13
- [libcgif-dev]Affected
Source package: [cgif]
Details (2)
0.5.0-1· amd64 · trixieAffected
nvd · cgif · debian · 13
0.5.0-1· arm64 · trixieAffected
nvd · cgif · debian · 13
Observed:
References
- [https://github.com/dloebl/cgif/]
- [https://github.com/dloebl/cgif/commit/b0ba830093f4317a5d1f345715d2fa3cd2dab474]
- [https://github.com/dloebl/cgif/issues/110]
- [https://github.com/dloebl/cgif/pull/112]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-4985]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-4985]
- [https://security-tracker.debian.org/tracker/CVE-2026-4985]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4985.json]
- [https://vuldb.com/?ctiid.353874]
- [https://vuldb.com/?id.353874]
- [https://vuldb.com/?submit.778278]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]