dloebl CGIF up to 0.5.2 GIF Image src/cgif.c cgif_addframe width/height integer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.1 | $0-$5k | 1.33 |
Summary
A vulnerability labeled as problematic has been found in dloebl CGIF up to 0.5.2. This issue affects the function cgif_addframe of the file src/cgif.c of the component GIF Image Handler. The manipulation of the argument width/height results in integer overflow.
This vulnerability is cataloged as CVE-2026-4985. The attack may be launched remotely. There is no exploit available.
A patch should be applied to remediate this issue.
Details
A vulnerability, which was classified as problematic, was found in dloebl CGIF up to 0.5.2. Affected is the function cgif_addframe of the file src/cgif.c of the component GIF Image Handler. The manipulation of the argument width/height with an unknown input leads to a integer overflow vulnerability. CWE is classifying the issue as 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 can introduce other weaknesses when the calculation is used for resource management or execution control. This is going to have an impact on availability.
The advisory is available at github.com. This vulnerability is traded as CVE-2026-4985. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Successful exploitation requires user interaction by the victim. Technical details are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 304165 (Linux Distros Unpatched Vulnerability : CVE-2026-4985), which helps to determine the existence of the flaw in a target environment.
Applying the patch b0ba830093f4317a5d1f345715d2fa3cd2dab474 is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the databases at Tenable (304165) and EUVD (EUVD-2026-16894). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Vendor
Name
Version
License
Website
- Product: https://github.com/dloebl/cgif/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.3VulDB Meta Temp Score: 4.1
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Integer overflowCWE: CWE-190 / CWE-189
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 304165
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-4985
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: b0ba830093f4317a5d1f345715d2fa3cd2dab474
Timeline
03/27/2026 Advisory disclosed03/27/2026 VulDB entry created
03/28/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 110
Status: Confirmed
Confirmation: 🔒
CVE: CVE-2026-4985 (🔒)
GCVE (CVE): GCVE-0-2026-4985
GCVE (VulDB): GCVE-100-353874
EUVD: 🔒
Entry
Created: 03/27/2026 13:52Updated: 03/28/2026 23:31
Changes: 03/27/2026 13:52 (59), 03/28/2026 04:36 (1), 03/28/2026 23:31 (2)
Complete: 🔍
Submitter: zzxzzb
Cache ID: 216:903:103
Submit
Accepted
- Submit #778278: dloebl CGIF v0.4.0 to v0.5.2 Integer Overflow (by zzxzzb)
No comments yet. Languages: en.
Please log in to comment.