{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "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 Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-22628.json"
      }
    ],
    "title": "libraw: Out of bounds read in LibRaw::stretch() function in libraw\\src\\postprocessing\\aspect_ratio.cpp",
    "tracking": {
      "current_release_date": "2026-11-23T17:32:26+00:00",
      "generator": {
        "date": "2026-11-23T17:32:26+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.8"
        }
      },
      "id": "CVE-2020-22628",
      "initial_release_date": "2020-01-01T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2020-01-01T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2025-05-05T14:20:09+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-23T17:32:26+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 7",
                "product": {
                  "name": "Red Hat Enterprise Linux 7",
                  "product_id": "red_hat_enterprise_linux_7",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 7"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 8",
                "product": {
                  "name": "Red Hat Enterprise Linux 8",
                  "product_id": "red_hat_enterprise_linux_8",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:8"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 8"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 9",
                "product": {
                  "name": "Red Hat Enterprise Linux 9",
                  "product_id": "red_hat_enterprise_linux_9",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:9"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 9"
          },
          {
            "category": "product_version",
            "name": "LibRaw-devel",
            "product": {
              "name": "LibRaw-devel",
              "product_id": "LibRaw-devel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/LibRaw-devel"
              }
            }
          },
          {
            "category": "product_version",
            "name": "LibRaw",
            "product": {
              "name": "LibRaw",
              "product_id": "LibRaw",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/LibRaw"
              }
            }
          },
          {
            "category": "product_version",
            "name": "LibRaw.src",
            "product": {
              "name": "LibRaw.src",
              "product_id": "LibRaw.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/LibRaw?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "LibRaw-static",
            "product": {
              "name": "LibRaw-static",
              "product_id": "LibRaw-static",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/LibRaw-static"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "LibRaw as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:LibRaw"
        },
        "product_reference": "LibRaw",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "LibRaw-devel as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:LibRaw-devel"
        },
        "product_reference": "LibRaw-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "LibRaw-static as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:LibRaw-static"
        },
        "product_reference": "LibRaw-static",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "LibRaw.src as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:LibRaw.src"
        },
        "product_reference": "LibRaw.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "LibRaw as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:LibRaw"
        },
        "product_reference": "LibRaw",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "LibRaw-devel as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:LibRaw-devel"
        },
        "product_reference": "LibRaw-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "LibRaw.src as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:LibRaw.src"
        },
        "product_reference": "LibRaw.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "LibRaw as a component of Red Hat Enterprise Linux 9",
          "product_id": "red_hat_enterprise_linux_9:LibRaw"
        },
        "product_reference": "LibRaw",
        "relates_to_product_reference": "red_hat_enterprise_linux_9"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "LibRaw-devel as a component of Red Hat Enterprise Linux 9",
          "product_id": "red_hat_enterprise_linux_9:LibRaw-devel"
        },
        "product_reference": "LibRaw-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_9"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "LibRaw.src as a component of Red Hat Enterprise Linux 9",
          "product_id": "red_hat_enterprise_linux_9:LibRaw.src"
        },
        "product_reference": "LibRaw.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_9"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2020-22628",
      "cwe": {
        "id": "CWE-125",
        "name": "Out-of-bounds Read"
      },
      "discovery_date": "2023-08-25T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2234992"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in the libraw library. This issue occurs due to an out-of-bounds read vulnerability that exists within the \"LibRaw::stretch()\" function (libraw\\src\\postprocessing\\aspect_ratio.cpp) when parsing a crafted CRW file.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "libraw: Out of bounds read in LibRaw::stretch() function in libraw\\src\\postprocessing\\aspect_ratio.cpp",
          "title": "Vulnerability summary"
        },
        {
          "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": [
          "red_hat_enterprise_linux_7:LibRaw",
          "red_hat_enterprise_linux_7:LibRaw-devel",
          "red_hat_enterprise_linux_7:LibRaw-static",
          "red_hat_enterprise_linux_7:LibRaw.src",
          "red_hat_enterprise_linux_8:LibRaw",
          "red_hat_enterprise_linux_8:LibRaw-devel",
          "red_hat_enterprise_linux_8:LibRaw.src",
          "red_hat_enterprise_linux_9:LibRaw",
          "red_hat_enterprise_linux_9:LibRaw-devel",
          "red_hat_enterprise_linux_9:LibRaw.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2020-22628"
        },
        {
          "category": "external",
          "summary": "RHBZ#2234992",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2234992"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2020-22628",
          "url": "https://www.cve.org/CVERecord?id=CVE-2020-22628"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2020-22628",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-22628"
        },
        {
          "category": "external",
          "summary": "https://github.com/LibRaw/LibRaw/issues/269",
          "url": "https://github.com/LibRaw/LibRaw/issues/269"
        }
      ],
      "release_date": "2023-08-22T00:00:00+00:00",
      "remediations": [
        {
          "category": "workaround",
          "details": "Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.",
          "product_ids": [
            "red_hat_enterprise_linux_7:LibRaw",
            "red_hat_enterprise_linux_7:LibRaw-devel",
            "red_hat_enterprise_linux_7:LibRaw-static",
            "red_hat_enterprise_linux_7:LibRaw.src",
            "red_hat_enterprise_linux_8:LibRaw",
            "red_hat_enterprise_linux_8:LibRaw-devel",
            "red_hat_enterprise_linux_8:LibRaw.src",
            "red_hat_enterprise_linux_9:LibRaw",
            "red_hat_enterprise_linux_9:LibRaw-devel",
            "red_hat_enterprise_linux_9:LibRaw.src"
          ]
        },
        {
          "category": "no_fix_planned",
          "details": "Out of support scope",
          "product_ids": [
            "red_hat_enterprise_linux_7:LibRaw",
            "red_hat_enterprise_linux_7:LibRaw-devel",
            "red_hat_enterprise_linux_7:LibRaw-static",
            "red_hat_enterprise_linux_7:LibRaw.src"
          ]
        },
        {
          "category": "no_fix_planned",
          "details": "Will not fix",
          "product_ids": [
            "red_hat_enterprise_linux_8:LibRaw",
            "red_hat_enterprise_linux_8:LibRaw-devel",
            "red_hat_enterprise_linux_8:LibRaw.src"
          ]
        },
        {
          "category": "none_available",
          "details": "Affected",
          "product_ids": [
            "red_hat_enterprise_linux_9:LibRaw",
            "red_hat_enterprise_linux_9:LibRaw-devel",
            "red_hat_enterprise_linux_9:LibRaw.src"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "products": [
            "red_hat_enterprise_linux_7:LibRaw",
            "red_hat_enterprise_linux_7:LibRaw-devel",
            "red_hat_enterprise_linux_7:LibRaw-static",
            "red_hat_enterprise_linux_7:LibRaw.src",
            "red_hat_enterprise_linux_8:LibRaw",
            "red_hat_enterprise_linux_8:LibRaw-devel",
            "red_hat_enterprise_linux_8:LibRaw.src",
            "red_hat_enterprise_linux_9:LibRaw",
            "red_hat_enterprise_linux_9:LibRaw-devel",
            "red_hat_enterprise_linux_9:LibRaw.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "red_hat_enterprise_linux_7:LibRaw",
            "red_hat_enterprise_linux_7:LibRaw-devel",
            "red_hat_enterprise_linux_7:LibRaw-static",
            "red_hat_enterprise_linux_7:LibRaw.src",
            "red_hat_enterprise_linux_8:LibRaw",
            "red_hat_enterprise_linux_8:LibRaw-devel",
            "red_hat_enterprise_linux_8:LibRaw.src",
            "red_hat_enterprise_linux_9:LibRaw",
            "red_hat_enterprise_linux_9:LibRaw-devel",
            "red_hat_enterprise_linux_9:LibRaw.src"
          ]
        }
      ],
      "title": "libraw: Out of bounds read in LibRaw::stretch() function in libraw\\src\\postprocessing\\aspect_ratio.cpp"
    }
  ]
}