CVE-2026-4985
dloebl CGIF GIF Image cgif.c cgif_addframe integer overflow
- State
- Published
- Severity
- 5.3 Medium
- Published
- Mar 27, 2026
- Updated
- Mar 30, 2026
- Reserved
- Mar 27, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X | VulDB |
| 3.1 | 4.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C | VulDB |
| 3.0 | 4.3 Medium | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C | VulDB |
| 2.0 | 5.0 Medium | AV:N/AC:L/Au:N/C:N/I:N/A:P/E:ND/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
CGIFdloebl |
|
References
- VDB-353874 | dloebl CGIF GIF Image cgif.c cgif_addframe integer overflowvdb-entrytechnical-description
- VDB-353874 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #778278 | dloebl CGIF v0.4.0 to v0.5.2 Integer Overflowthird-party-advisory
- https://github.com/dloebl/cgif/issues/110issue-tracking
- https://github.com/dloebl/cgif/pull/112issue-trackingpatch
- https://github.com/dloebl/cgif/commit/b0ba830093f4317a5d1f345715d2fa3cd2dab474patch
- https://github.com/dloebl/cgif/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.