cgif — security advisory
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.
- Products
- cgif
- Affected versions
- 0.3.0-1, 0.3.2-1, 0.4.0-1, 0.4.1-1, 0.5.0-1, 0.5.1-1, 0.5.2-1, 0.5.3-1, 0.5.4-1
- Fixed versions
- 0.5.3-1
- CVEs
- CVE-2026-4985
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:48 UTC · Revision 2
Source evidence
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.
osv:DEBIAN-CVE-2026-4985
cgif
Fixed versions: Not specified
cgif
Fixed versions: Not specified
cgif
Fixed versions: 0.5.3-1
Complete source record
{
"id": "f388211bd05e83323c29cfc6804ed96eb7ed439e9a34070b8c4a22bdf552e675",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-4985",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-4985",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2026-4985",
"products": [
{
"name": {
"value": "cgif",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.3.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.3.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.4.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.4.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.3-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.4-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "cgif",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.5.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.5.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.5.2-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.5.3-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.5.4-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "cgif",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.5.3-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "0.5.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "0.5.1-1",
"evidence": "/affected/2/versions"
},
{
"value": "0.5.2-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2026-4985",
"aliases": [
"DEBIAN-CVE-2026-4985"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cgif",
"purl": "pkg:deb/debian/cgif?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"0.3.0-1",
"0.3.2-1",
"0.4.0-1",
"0.4.1-1",
"0.5.0-1",
"0.5.1-1",
"0.5.2-1",
"0.5.3-1",
"0.5.4-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-4985.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cgif",
"purl": "pkg:deb/debian/cgif?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"0.5.0-1",
"0.5.1-1",
"0.5.2-1",
"0.5.3-1",
"0.5.4-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-4985.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.5.3-1"
}
]
}
],
"package": {
"name": "cgif",
"purl": "pkg:deb/debian/cgif?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"0.5.0-1",
"0.5.1-1",
"0.5.2-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-4985.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
}
],
"modified": "2026-10-27T09:47:40.125918703Z",
"provider": "osv",
"upstream": [
"CVE-2026-4985"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-4985"
]
},
"related_cves": [
{
"value": "CVE-2026-4985",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 461236,
"published_at": "2026-03-27T22:16:23.29+00:00"
}