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

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debiancgifsid0.5.4-1fixed
Debiancgifforky0.5.4-1fixed
Debiancgiftrixie0.5.0-1vulnerable
Debiancgifbookworm0.3.0-1vulnerable
CpecgifNot reportedNot reportedvulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancgifsourcesid0.5.3-1unimportantNot reported[1132167]
Debiancgifsourceforky0.5.3-1unimportantNot reported[1132167]
Debiancgifsourcetrixie(unfixed)unimportantNot reported[1132167]
Debiancgifsourcebookworm(unfixed)unimportantNot reported[1132167]

[Debian bug #1132167]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libcgif0]Affected

    Source package: [cgif]

    Details (2)
    • 0.3.0-1 · amd64 · bookworm

      Affected

      nvd · cgif · debian · bookworm; nvd · cgif · debian · 12

    • 0.3.0-1 · arm64 · bookworm

      Affected

      nvd · cgif · debian · bookworm; nvd · cgif · debian · 12

  • [libcgif-dev]Affected

    Source package: [cgif]

    Details (2)
    • 0.3.0-1 · amd64 · bookworm

      Affected

      nvd · cgif · debian · bookworm; nvd · cgif · debian · 12

    • 0.3.0-1 · arm64 · bookworm

      Affected

      nvd · cgif · debian · bookworm; nvd · cgif · debian · 12

[Debian 13 (Trixie)]

  • [libcgif0]Affected

    Source package: [cgif]

    Details (2)
    • 0.5.0-1 · amd64 · trixie

      Affected

      nvd · cgif · debian · 13

    • 0.5.0-1 · arm64 · trixie

      Affected

      nvd · cgif · debian · 13

  • [libcgif-dev]Affected

    Source package: [cgif]

    Details (2)
    • 0.5.0-1 · amd64 · trixie

      Affected

      nvd · cgif · debian · 13

    • 0.5.0-1 · arm64 · trixie

      Affected

      nvd · cgif · debian · 13

Observed:

References