UBUNTU-CVE-2026-4985

Source
https://ubuntu.com/security/CVE-2026-4985
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-4985.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-4985
Upstream
  • CVE-2026-4985
Published
2026-03-27T22:16:00Z
Modified
2026-05-20T16:26:38.033987757Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L CVSS Calculator
  • 5.3 (Medium) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:22.04:LTS / cgif

Package

Name
cgif
Purl
pkg:deb/ubuntu/cgif?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.0.2-1
0.0.3-1
0.0.4-1
0.2.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgif0",
            "binary_version": "0.2.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-4985.json"

Ubuntu:24.04:LTS / cgif

Package

Name
cgif
Purl
pkg:deb/ubuntu/cgif?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.3.2-1
0.3.2-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgif0",
            "binary_version": "0.3.2-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-4985.json"

Ubuntu:25.10 / cgif

Package

Name
cgif
Purl
pkg:deb/ubuntu/cgif?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.5.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgif0",
            "binary_version": "0.5.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-4985.json"

Ubuntu:26.04:LTS / cgif

Package

Name
cgif
Purl
pkg:deb/ubuntu/cgif?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.5.0-1
0.5.0-1build1
0.5.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgif0",
            "binary_version": "0.5.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-4985.json"