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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| dloebl | CGIF | 0.5.0, 0.5.1, 0.5.2 | — |
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 | cgif | 0.5.3-1 | — |
| Debian 13 | cgif | No fix yet | — |
| Debian 12 | cgif | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | cgif | No fix yet | — |
| Ubuntu 26.04 LTS | cgif | No fix yet | — |
| Ubuntu 25.10 | cgif | No fix yet | — |
| Ubuntu 24.04 LTS | cgif | No fix yet | — |
| Ubuntu 22.04 LTS | cgif | No fix yet | — |
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