{
  "document": {
    "aggregate_severity": {
      "text": "Medium"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/ubuntu18.04els/vex/2022/cve-2022-28506-els_os-ubuntu18_04els.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-08-25T08:51:23Z",
      "generator": {
        "date": "2026-08-25T08:51:23Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2022-28506-ELS_OS-UBUNTU18.04ELS",
      "initial_release_date": "2022-04-25T13:15:00Z",
      "revision_history": [
        {
          "date": "2022-04-25T13:15:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-08-25T08:51:23Z",
          "number": "2",
          "summary": "Official Publication"
        }
      ],
      "status": "final",
      "version": "2"
    },
    "title": "Security update on CVE-2022-28506"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Ubuntu 18.04",
                "product": {
                  "name": "Ubuntu 18.04",
                  "product_id": "Ubuntu-18",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Ubuntu"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libgif-dev-0:5.1.4-2ubuntu0.1.amd64",
                "product": {
                  "name": "libgif-dev-0:5.1.4-2ubuntu0.1.amd64",
                  "product_id": "libgif-dev-0:5.1.4-2ubuntu0.1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/ubuntu/libgif-dev@5.1.4-2ubuntu0.1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libgif7-0:5.1.4-2ubuntu0.1.amd64",
                "product": {
                  "name": "libgif7-0:5.1.4-2ubuntu0.1.amd64",
                  "product_id": "libgif7-0:5.1.4-2ubuntu0.1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/ubuntu/libgif7@5.1.4-2ubuntu0.1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "giflib-tools-0:5.1.4-2ubuntu0.1.amd64",
                "product": {
                  "name": "giflib-tools-0:5.1.4-2ubuntu0.1.amd64",
                  "product_id": "giflib-tools-0:5.1.4-2ubuntu0.1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/ubuntu/giflib-tools@5.1.4-2ubuntu0.1?arch=amd64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "amd64"
          }
        ],
        "category": "vendor",
        "name": "Canonical Ltd."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libgif-dev-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
                "product": {
                  "name": "libgif-dev-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
                  "product_id": "libgif-dev-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/libgif-dev@5.1.4-2ubuntu0.1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libgif7-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
                "product": {
                  "name": "libgif7-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
                  "product_id": "libgif7-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/libgif7@5.1.4-2ubuntu0.1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "giflib-tools-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
                "product": {
                  "name": "giflib-tools-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
                  "product_id": "giflib-tools-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/giflib-tools@5.1.4-2ubuntu0.1%2Btuxcare.els1?arch=amd64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "amd64"
          }
        ],
        "category": "vendor",
        "name": "CloudLinux"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libgif-dev-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:libgif-dev-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64"
        },
        "product_reference": "libgif-dev-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libgif-dev-0:5.1.4-2ubuntu0.1.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:libgif-dev-0:5.1.4-2ubuntu0.1.amd64"
        },
        "product_reference": "libgif-dev-0:5.1.4-2ubuntu0.1.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libgif7-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:libgif7-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64"
        },
        "product_reference": "libgif7-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libgif7-0:5.1.4-2ubuntu0.1.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:libgif7-0:5.1.4-2ubuntu0.1.amd64"
        },
        "product_reference": "libgif7-0:5.1.4-2ubuntu0.1.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "giflib-tools-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:giflib-tools-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64"
        },
        "product_reference": "giflib-tools-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "giflib-tools-0:5.1.4-2ubuntu0.1.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:giflib-tools-0:5.1.4-2ubuntu0.1.amd64"
        },
        "product_reference": "giflib-tools-0:5.1.4-2ubuntu0.1.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2022-28506",
      "cwe": {
        "id": "CWE-787",
        "name": "Out-of-bounds Write"
      },
      "notes": [
        {
          "category": "description",
          "text": "There is a heap-buffer-overflow in GIFLIB 5.2.1 function DumpScreen2RGB() in gif2rgb.c:298:45.",
          "title": "Vulnerability description"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_affected": [
          "Ubuntu-18:giflib-tools-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
          "Ubuntu-18:giflib-tools-0:5.1.4-2ubuntu0.1.amd64",
          "Ubuntu-18:libgif-dev-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
          "Ubuntu-18:libgif-dev-0:5.1.4-2ubuntu0.1.amd64",
          "Ubuntu-18:libgif7-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
          "Ubuntu-18:libgif7-0:5.1.4-2ubuntu0.1.amd64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2022-28506"
        },
        {
          "category": "external",
          "summary": "https://github.com/verf1sh/Poc/blob/master/asan_report_giflib.png",
          "url": "https://github.com/verf1sh/Poc/blob/master/asan_report_giflib.png"
        },
        {
          "category": "external",
          "summary": "https://github.com/verf1sh/Poc/blob/master/giflib_poc",
          "url": "https://github.com/verf1sh/Poc/blob/master/giflib_poc"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4CJSHXBD2RS5OJNWSHQZVMTQCCTIPYS/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4CJSHXBD2RS5OJNWSHQZVMTQCCTIPYS/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KEAFUZXOOJJVFYRQM6IIJ7LMLEKCCESG/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KEAFUZXOOJJVFYRQM6IIJ7LMLEKCCESG/"
        },
        {
          "category": "external",
          "summary": "https://sourceforge.net/p/giflib/bugs/159/",
          "url": "https://sourceforge.net/p/giflib/bugs/159/"
        }
      ],
      "release_date": "2022-04-25T13:15:00Z",
      "remediations": [
        {
          "category": "no_fix_planned",
          "date": "2026-08-18T14:37:05.814700Z",
          "details": "CVE-2022-28506 affects the gif2rgb command-line converter in GIFLIB 5.2.1 (not the shared libgif) and is only reachable when a user locally runs gif2rgb on attacker-supplied GIF input, so it is not exposed by network-facing services or typical non-interactive workloads. Given the local attack vector, required user interaction, and no integrity or availability impact in the CVSS, the blast radius is limited to the invoking user process. In centrally managed server/VM environments without interactive image-conversion tasks, the practical exploitation likelihood is minimal and this issue can be safely deprioritized.",
          "product_ids": [
            "Ubuntu-18:giflib-tools-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
            "Ubuntu-18:giflib-tools-0:5.1.4-2ubuntu0.1.amd64",
            "Ubuntu-18:libgif-dev-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
            "Ubuntu-18:libgif-dev-0:5.1.4-2ubuntu0.1.amd64",
            "Ubuntu-18:libgif7-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
            "Ubuntu-18:libgif7-0:5.1.4-2ubuntu0.1.amd64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "NONE",
            "vectorString": "AV:N/AC:M/Au:N/C:P/I:N/A:N",
            "version": "2.0"
          },
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 5.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
            "version": "3.1"
          },
          "products": [
            "Ubuntu-18:giflib-tools-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
            "Ubuntu-18:giflib-tools-0:5.1.4-2ubuntu0.1.amd64",
            "Ubuntu-18:libgif-dev-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
            "Ubuntu-18:libgif-dev-0:5.1.4-2ubuntu0.1.amd64",
            "Ubuntu-18:libgif7-0:5.1.4-2ubuntu0.1+tuxcare.els1.amd64",
            "Ubuntu-18:libgif7-0:5.1.4-2ubuntu0.1.amd64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ]
    }
  ]
}