{"id":"CVE-2026-4985","state":"PUBLISHED","title":"dloebl CGIF GIF Image cgif.c cgif_addframe integer overflow","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.","publishedAt":"2026-03-27T21:27:13.537Z","updatedAt":"2026-03-30T15:48:41.448Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"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","source":"VulDB"},"assigner":"VulDB","products":["dloebl CGIF"],"affected":[{"vendor":"dloebl","product":"CGIF","versions":[{"version":"0.5.0","status":"affected"},{"version":"0.5.1","status":"affected"},{"version":"0.5.2","status":"affected"}],"modules":["GIF Image Handler"]}],"references":["https://vuldb.com/?id.353874","https://vuldb.com/?ctiid.353874","https://vuldb.com/?submit.778278","https://github.com/dloebl/cgif/issues/110","https://github.com/dloebl/cgif/pull/112","https://github.com/dloebl/cgif/commit/b0ba830093f4317a5d1f345715d2fa3cd2dab474","https://github.com/dloebl/cgif/"],"weaknesses":["CWE-190","CWE-189"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/4xxx/CVE-2026-4985.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-4985","state":"PUBLISHED","datePublished":"2026-03-27T21:27:13.537Z","dateUpdated":"2026-03-30T15:48:41.448Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2026-03-27T12:47:40.382Z"},"containers":{"cna":{"title":"dloebl CGIF GIF Image cgif.c cgif_addframe integer overflow","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"dloebl","product":"CGIF","versions":[{"version":"0.5.0","status":"affected"},{"version":"0.5.1","status":"affected"},{"version":"0.5.2","status":"affected"}],"modules":["GIF Image Handler"]}],"references":[{"url":"https://vuldb.com/?id.353874","name":"VDB-353874 | dloebl CGIF GIF Image cgif.c cgif_addframe integer overflow","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.353874","name":"VDB-353874 | CTI Indicators (IOB, IOC, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.778278","name":"Submit #778278 | dloebl CGIF   v0.4.0 to v0.5.2  Integer Overflow","tags":["third-party-advisory"]},{"url":"https://github.com/dloebl/cgif/issues/110","tags":["issue-tracking"]},{"url":"https://github.com/dloebl/cgif/pull/112","tags":["issue-tracking","patch"]},{"url":"https://github.com/dloebl/cgif/commit/b0ba830093f4317a5d1f345715d2fa3cd2dab474","tags":["patch"]},{"url":"https://github.com/dloebl/cgif/","tags":["product"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":5.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":4.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_0":{"version":"3.0","baseScore":4.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV2_0":{"version":"2.0","baseScore":5,"vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P/E:ND/RL:OF/RC:C"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","type":"CWE","lang":"en","description":"Integer Overflow"}]},{"descriptions":[{"cweId":"CWE-189","type":"CWE","lang":"en","description":"Numeric Error"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2026-03-27T22:18:22.805Z"},"timeline":[{"time":"2026-03-27T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2026-03-27T01:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2026-03-27T13:52:49.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"zzxzzb (VulDB User)","type":"reporter"}],"tags":["x_open-source"]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-30T15:48:29.149730Z","id":"CVE-2026-4985","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-30T15:48:41.448Z"}}]}}}