CVEfocus › CVE database › CVE-2026-4985

CVE-2026-4985dloebl CGIF GIF Image cgif.c cgif_addframe integer overflow

CVSS 4.3 MediumEPSS 0.6% (higher than 47% of CVEs)Published 2026-03-27Updated 2026-03-30Assigner: VulDB

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.

CWE-189CWE-190

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
1Fix pending
3Under investigation
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10cgifFix pendingUBUNTU-CVE-2026-4985
Ubuntu 26.04cgifUnder investigationUBUNTU-CVE-2026-4985
Ubuntu 25.10cgifWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-4985
Ubuntu 24.04cgifUnder investigationUBUNTU-CVE-2026-4985
Ubuntu 22.04cgifUnder investigationUBUNTU-CVE-2026-4985
Debian 14cgifFixed0.5.3-1DEBIAN-CVE-2026-4985
Debian 13cgifWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-4985
Debian 12cgifWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-4985

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.