Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-4985 EUVD-2026-16894GHSA-j9q5-hw2p-xmcf

dloebl CGIF GIF Image cgif.c cgif_addframe integer overflow

Published Mar 27, 2026 · Updated Mar 30, 2026 · Assigned by VulDB

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 cgif 0.5.3-1 —
Debian 13 cgif No fix yet —
Debian 12 cgif No fix yet —
ReleasePackageFixed inAdvisory
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