CVE-2026-4985
Integer Overflow in dloebl CGIF GIF Handler Enables Remote Attack
Publication date: 2026-03-27
Last updated on: 2026-03-27
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| dloebl | cgif | to 0.5.2 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-190 | The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number. |
| CWE-189 |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the dloebl CGIF software up to version 0.5.2, specifically in the function cgif_addframe within the src/cgif.c file of the GIF Image Handler component. It is caused by the manipulation of the width and height arguments, which leads to an integer overflow. This overflow can be exploited remotely by an attacker.
An integer overflow occurs when an arithmetic operation attempts to create a numeric value that is outside the range that can be represented with a given number of bits, potentially causing unexpected behavior or security issues.
How can this vulnerability impact me? :
The vulnerability can be exploited remotely and may lead to a denial of service or other availability impacts, as indicated by the CVSS scores which show an impact on availability (A:L or A:P). However, it does not affect confidentiality or integrity.
Since the vulnerability involves integer overflow in image handling, an attacker might cause the application to crash or behave unpredictably, potentially disrupting service.
What immediate steps should I take to mitigate this vulnerability?
The suggested immediate step to mitigate this vulnerability is to install the patch identified by commit b0ba830093f4317a5d1f345715d2fa3cd2dab474.