{
  "document": {
    "aggregate_severity": {
      "text": "Moderate"
    },
    "category": "csaf_security_advisory",
    "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"
      },
      {
        "category": "details",
        "text": "CVE-2026-56288: fix a null pointer dereference in another_hunk() on\n  malformed unified and normal diff hunks with no-newline markers\n- CVE-2026-56289: fix an infinite loop in locate_hunk() on hunks with a\n  null range and a huge line number",
        "title": "Details"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://cve.tuxcare.com/els/releases/CLSA-2026:1791454013",
        "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1791454013"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/tuxcare9.8esu/advisories/2026/clsa-2026_1791454013.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-10-08T11:54:05Z",
      "generator": {
        "date": "2026-10-08T11:54:05Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CLSA-2026:1791454013",
      "initial_release_date": "2026-10-08T10:06:55Z",
      "revision_history": [
        {
          "date": "2026-10-08T10:06:55Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-10-08T11:54:05Z",
          "number": "2",
          "summary": "Official Publication"
        }
      ],
      "status": "final",
      "version": "2"
    },
    "title": "patch: Fix of 2 CVEs"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "AlmaLinux 9.8",
                "product": {
                  "name": "AlmaLinux 9.8",
                  "product_id": "AlmaLinux-9.8",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:almalinux:almalinux:9.8:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "AlmaLinux"
          }
        ],
        "category": "vendor",
        "name": "AlmaLinux OS Foundation"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Rocky Linux 9.8",
                "product": {
                  "name": "Rocky Linux 9.8",
                  "product_id": "Rocky Linux-9.8",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:resf:rocky_linux:9.8:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Rocky Linux"
          }
        ],
        "category": "vendor",
        "name": "Rocky Linux"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "patch-0:2.7.6-16.el9.tuxcare.els1.aarch64",
                "product": {
                  "name": "patch-0:2.7.6-16.el9.tuxcare.els1.aarch64",
                  "product_id": "patch-0:2.7.6-16.el9.tuxcare.els1.aarch64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/patch@2.7.6-16.el9.tuxcare.els1?arch=aarch64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "aarch64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "patch-0:2.7.6-16.el9.tuxcare.els1.x86_64",
                "product": {
                  "name": "patch-0:2.7.6-16.el9.tuxcare.els1.x86_64",
                  "product_id": "patch-0:2.7.6-16.el9.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/patch@2.7.6-16.el9.tuxcare.els1?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "patch-0:2.7.6-16.el9.tuxcare.els1.i686",
                "product": {
                  "name": "patch-0:2.7.6-16.el9.tuxcare.els1.i686",
                  "product_id": "patch-0:2.7.6-16.el9.tuxcare.els1.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/patch@2.7.6-16.el9.tuxcare.els1?arch=i686"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i686"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "patch-0:2.7.6-16.el9.tuxcare.els1.aarch64 as a component of AlmaLinux 9.8",
          "product_id": "AlmaLinux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.aarch64"
        },
        "product_reference": "patch-0:2.7.6-16.el9.tuxcare.els1.aarch64",
        "relates_to_product_reference": "AlmaLinux-9.8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "patch-0:2.7.6-16.el9.tuxcare.els1.x86_64 as a component of AlmaLinux 9.8",
          "product_id": "AlmaLinux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.x86_64"
        },
        "product_reference": "patch-0:2.7.6-16.el9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "patch-0:2.7.6-16.el9.tuxcare.els1.i686 as a component of AlmaLinux 9.8",
          "product_id": "AlmaLinux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.i686"
        },
        "product_reference": "patch-0:2.7.6-16.el9.tuxcare.els1.i686",
        "relates_to_product_reference": "AlmaLinux-9.8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "patch-0:2.7.6-16.el9.tuxcare.els1.aarch64 as a component of Rocky Linux 9.8",
          "product_id": "Rocky Linux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.aarch64"
        },
        "product_reference": "patch-0:2.7.6-16.el9.tuxcare.els1.aarch64",
        "relates_to_product_reference": "Rocky Linux-9.8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "patch-0:2.7.6-16.el9.tuxcare.els1.x86_64 as a component of Rocky Linux 9.8",
          "product_id": "Rocky Linux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.x86_64"
        },
        "product_reference": "patch-0:2.7.6-16.el9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "Rocky Linux-9.8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "patch-0:2.7.6-16.el9.tuxcare.els1.i686 as a component of Rocky Linux 9.8",
          "product_id": "Rocky Linux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.i686"
        },
        "product_reference": "patch-0:2.7.6-16.el9.tuxcare.els1.i686",
        "relates_to_product_reference": "Rocky Linux-9.8"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-56288",
      "cwe": {
        "id": "CWE-476",
        "name": "NULL Pointer Dereference"
      },
      "notes": [
        {
          "category": "description",
          "text": "GNU patch is vulnerable to a NULL pointer dereference when processing a specially crafted unified-diff patch file. Improper handling of consecutive end-of-file newline markers can corrupt internal hunk (single block of changes in diff) data structures, causing the application to pass a NULL pointer to fwrite() during patch processing.\nAn attacker can trigger this condition with a malicious patch file, causing the utility to crash and resulting in a denial of service.\n\n\n\nThis issue has been fixed in the commit e6d6a4e021660679d7fc9150f981d4920f722313",
          "title": "Vulnerability description"
        }
      ],
      "product_status": {
        "fixed": [
          "AlmaLinux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.aarch64",
          "AlmaLinux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.i686",
          "AlmaLinux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.x86_64",
          "Rocky Linux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.aarch64",
          "Rocky Linux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.i686",
          "Rocky Linux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2026-56288"
        },
        {
          "category": "external",
          "summary": "https://cert.pl/en/posts/2026/07/CVE-2026-56288",
          "url": "https://cert.pl/en/posts/2026/07/CVE-2026-56288"
        },
        {
          "category": "external",
          "summary": "https://cgit.git.savannah.gnu.org/cgit/patch.git/",
          "url": "https://cgit.git.savannah.gnu.org/cgit/patch.git/"
        },
        {
          "category": "external",
          "summary": "https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=e6d6a4e021660679d7fc9150f981d4920f722313",
          "url": "https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=e6d6a4e021660679d7fc9150f981d4920f722313"
        }
      ],
      "release_date": "2026-07-09T11:16:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-10-08T10:06:55.425398Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els/releases/CLSA-2026:1791454013",
          "product_ids": [
            "AlmaLinux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.aarch64",
            "AlmaLinux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.i686",
            "AlmaLinux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.x86_64",
            "Rocky Linux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.aarch64",
            "Rocky Linux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.i686",
            "Rocky Linux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.x86_64"
          ],
          "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1791454013"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ]
    },
    {
      "cve": "CVE-2026-56289",
      "cwe": {
        "id": "CWE-835",
        "name": "Loop with Unreachable Exit Condition ('Infinite Loop')"
      },
      "notes": [
        {
          "category": "description",
          "text": "GNU patch is vulnerable to a denial of service (DoS) due to improper validation of hunk (single block of changes in diff) line offsets in unified-diff input. A specially crafted patch can specify an extremely large line number, causing the application to enter an effectively infinite processing loop while attempting to locate the requested position.\nThis results in excessive CPU consumption and prevents the process from completing.\nAn attacker can trigger this behavior by supplying a malicious patch file, causing the utility to become unresponsive and require manual termination.\n\n\n\nThis issue has been fixed in the commit faba04ef4f2b410257f76c1b9dc85e350929c4b9",
          "title": "Vulnerability description"
        }
      ],
      "product_status": {
        "fixed": [
          "AlmaLinux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.aarch64",
          "AlmaLinux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.i686",
          "AlmaLinux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.x86_64",
          "Rocky Linux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.aarch64",
          "Rocky Linux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.i686",
          "Rocky Linux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2026-56289"
        },
        {
          "category": "external",
          "summary": "https://cert.pl/en/posts/2026/07/CVE-2026-56288",
          "url": "https://cert.pl/en/posts/2026/07/CVE-2026-56288"
        },
        {
          "category": "external",
          "summary": "https://cgit.git.savannah.gnu.org/cgit/patch.git/",
          "url": "https://cgit.git.savannah.gnu.org/cgit/patch.git/"
        },
        {
          "category": "external",
          "summary": "https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=faba04ef4f2b410257f76c1b9dc85e350929c4b9",
          "url": "https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=faba04ef4f2b410257f76c1b9dc85e350929c4b9"
        }
      ],
      "release_date": "2026-07-09T11:16:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-10-08T10:06:55.425398Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els/releases/CLSA-2026:1791454013",
          "product_ids": [
            "AlmaLinux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.aarch64",
            "AlmaLinux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.i686",
            "AlmaLinux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.x86_64",
            "Rocky Linux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.aarch64",
            "Rocky Linux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.i686",
            "Rocky Linux-9.8:patch-0:2.7.6-16.el9.tuxcare.els1.x86_64"
          ],
          "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1791454013"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ]
    }
  ]
}