CVE Catalog

CVE-2026-4985

MediumCVSS 4.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.50%

43th percentile - higher than 43% of all known CVEs

Summary

A vulnerability was identified in the CGIF library up to version 0.5.2, in the cgif_addframe function in src/cgif.c handling GIF images. Manipulation of the width/height arguments leads to an integer overflow. The attack may be initiated remotely and the patch identifier is b0ba830093f4317a5d1f345715d2fa3cd2dab474.

Risk Assessment

A remote attacker could trigger an integer overflow, potentially leading to memory corruption or application crash when processing untrusted GIF files. This may result in code execution or denial of service.

Recommendation

Install the patch identified as b0ba830093f4317a5d1f345715d2fa3cd2dab474 or update CGIF to a version containing the fix. Validate GIF files before processing.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS