Vulnerability · Published Mar 27, 2026 · Assigned by VulDB
CVE-2026-4985dloebl CGIF GIF Image cgif.c cgif_addframe integer overflow
Medium 4.3
In plain English
A medium-severity integer overflow in CGIF from dloebl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | cgif | no fix listed | DEBIAN-CVE-2026-4985 |
| Debian:13 | cgif | no fix listed | DEBIAN-CVE-2026-4985 |
| Debian:14 | cgif | 0.5.3-1 | DEBIAN-CVE-2026-4985 |
| Ubuntu:22.04:LTS | cgif | no fix listed | UBUNTU-CVE-2026-4985 |
| Ubuntu:24.04:LTS | cgif | no fix listed | UBUNTU-CVE-2026-4985 |
| Ubuntu:25.10 | cgif | no fix listed | UBUNTU-CVE-2026-4985 |
| Ubuntu:26.04:LTS | cgif | no fix listed | UBUNTU-CVE-2026-4985 |
| Ubuntu:26.10 | cgif | no fix listed | UBUNTU-CVE-2026-4985 |
Affected products (as reported)
Weakness: CWE-190, CWE-189 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
References
- VDB-353874 | dloebl CGIF GIF Image cgif.c cgif_addframe integer overflow vdb-entry, technical-description
- VDB-353874 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #778278 | dloebl CGIF v0.4.0 to v0.5.2 Integer Overflow third-party-advisory
- https://github.com/dloebl/cgif/issues/110 issue-tracking
- https://github.com/dloebl/cgif/pull/112 issue-tracking, patch
- https://github.com/dloebl/cgif/commit/b0ba830093f4317a5d1f345715d2fa3cd2dab474 patch
- https://github.com/dloebl/cgif/ product