{
  "document": {
    "aggregate_severity": {
      "text": "Important"
    },
    "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-32316: fix heap buffer overflow in jvp_string_append and\n  jvp_string_copy_replace_bad\n- CVE-2026-39979: fix out-of-bounds read in jv_parse_sized",
        "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:1777881308",
        "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1777881308"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/tuxcare9.6esu/advisories/2026/clsa-2026_1777881308.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-05-04T07:55:49Z",
      "generator": {
        "date": "2026-05-04T07:55:49Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CLSA-2026:1777881308",
      "initial_release_date": "2026-05-04T07:55:49Z",
      "revision_history": [
        {
          "date": "2026-05-04T07:55:49Z",
          "number": "1",
          "summary": "Initial version"
        }
      ],
      "status": "final",
      "version": "1"
    },
    "title": "jq: Fix of 2 CVEs"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "AlmaLinux 9.6",
                "product": {
                  "name": "AlmaLinux 9.6",
                  "product_id": "AlmaLinux-9.6",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:almalinux:almalinux:9.6:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "AlmaLinux"
          }
        ],
        "category": "vendor",
        "name": "AlmaLinux OS Foundation"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Rocky Linux 9.6",
                "product": {
                  "name": "Rocky Linux 9.6",
                  "product_id": "Rocky Linux-9.6",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:resf:rocky_linux:9.6:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Rocky Linux"
          }
        ],
        "category": "vendor",
        "name": "Rocky Linux"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
                "product": {
                  "name": "jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
                  "product_id": "jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/jq-devel@1.6-17.el9_6.2.tuxcare.els1?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
                "product": {
                  "name": "jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
                  "product_id": "jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/jq@1.6-17.el9_6.2.tuxcare.els1?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
                "product": {
                  "name": "jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
                  "product_id": "jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/jq-devel@1.6-17.el9_6.2.tuxcare.els1?arch=i686"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
                "product": {
                  "name": "jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
                  "product_id": "jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/jq@1.6-17.el9_6.2.tuxcare.els1?arch=i686"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i686"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64 as a component of AlmaLinux 9.6",
          "product_id": "AlmaLinux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64"
        },
        "product_reference": "jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686 as a component of AlmaLinux 9.6",
          "product_id": "AlmaLinux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686"
        },
        "product_reference": "jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
        "relates_to_product_reference": "AlmaLinux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64 as a component of AlmaLinux 9.6",
          "product_id": "AlmaLinux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64"
        },
        "product_reference": "jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "jq-0:1.6-17.el9_6.2.tuxcare.els1.i686 as a component of AlmaLinux 9.6",
          "product_id": "AlmaLinux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.i686"
        },
        "product_reference": "jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
        "relates_to_product_reference": "AlmaLinux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64 as a component of Rocky Linux 9.6",
          "product_id": "Rocky Linux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64"
        },
        "product_reference": "jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
        "relates_to_product_reference": "Rocky Linux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686 as a component of Rocky Linux 9.6",
          "product_id": "Rocky Linux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686"
        },
        "product_reference": "jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
        "relates_to_product_reference": "Rocky Linux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64 as a component of Rocky Linux 9.6",
          "product_id": "Rocky Linux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64"
        },
        "product_reference": "jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
        "relates_to_product_reference": "Rocky Linux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "jq-0:1.6-17.el9_6.2.tuxcare.els1.i686 as a component of Rocky Linux 9.6",
          "product_id": "Rocky Linux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.i686"
        },
        "product_reference": "jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
        "relates_to_product_reference": "Rocky Linux-9.6"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-32316",
      "cwe": {
        "id": "CWE-122",
        "name": "Heap-based Buffer Overflow"
      },
      "notes": [
        {
          "category": "description",
          "text": "jq is a command-line JSON processor. An integer overflow vulnerability exists through version 1.8.1 within the jvp_string_append() and jvp_string_copy_replace_bad functions, where concatenating strings with a combined length exceeding 2^31 bytes causes a 32-bit unsigned integer overflow in the buffer allocation size calculation, resulting in a drastically undersized heap buffer. Subsequent memory copy operations then write the full string data into this undersized buffer, causing a heap buffer overflow classified as CWE-190 (Integer Overflow) leading to CWE-122 (Heap-based Buffer Overflow). Any system evaluating untrusted jq queries is affected, as an attacker can crash the process or potentially achieve further exploitation through heap corruption by crafting queries that produce extremely large strings. The root cause is the absence of string size bounds checking, unlike arrays and objects which already have size limits. The issue has been addressed in commit e47e56d226519635768e6aab2f38f0ab037c09e5.",
          "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": {
        "fixed": [
          "AlmaLinux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
          "AlmaLinux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
          "AlmaLinux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
          "AlmaLinux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
          "Rocky Linux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
          "Rocky Linux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
          "Rocky Linux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
          "Rocky Linux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2026-32316"
        },
        {
          "category": "external",
          "summary": "https://github.com/jqlang/jq/commit/e47e56d226519635768e6aab2f38f0ab037c09e5",
          "url": "https://github.com/jqlang/jq/commit/e47e56d226519635768e6aab2f38f0ab037c09e5"
        },
        {
          "category": "external",
          "summary": "https://github.com/jqlang/jq/security/advisories/GHSA-q3h9-m34w-h76f",
          "url": "https://github.com/jqlang/jq/security/advisories/GHSA-q3h9-m34w-h76f"
        }
      ],
      "release_date": "2026-04-13T18:16:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-05-04T07:55:10.892207Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els/releases/CLSA-2026:1777881308",
          "product_ids": [
            "AlmaLinux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
            "AlmaLinux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
            "AlmaLinux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
            "AlmaLinux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
            "Rocky Linux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
            "Rocky Linux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
            "Rocky Linux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
            "Rocky Linux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64"
          ],
          "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1777881308"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "products": [
            "AlmaLinux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
            "AlmaLinux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
            "AlmaLinux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
            "AlmaLinux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
            "Rocky Linux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
            "Rocky Linux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
            "Rocky Linux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
            "Rocky Linux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ]
    },
    {
      "cve": "CVE-2026-39979",
      "cwe": {
        "id": "CWE-125",
        "name": "Out-of-bounds Read"
      },
      "notes": [
        {
          "category": "description",
          "text": "jq is a command-line JSON processor. In commits before 2f09060afab23fe9390cce7cb860b10416e1bf5f, the jv_parse_sized() API in libjq accepts a counted buffer with an explicit length parameter, but its error-handling path formats the input buffer using %s in jv_string_fmt(), which reads until a NUL terminator is found rather than respecting the caller-supplied length. This means that when malformed JSON is passed in a non-NUL-terminated buffer, the error construction logic performs an out-of-bounds read past the end of the buffer. The vulnerability is reachable by any libjq consumer calling jv_parse_sized() with untrusted input, and depending on memory layout, can result in memory disclosure or process termination. The issue has been patched in commit 2f09060afab23fe9390cce7cb860b10416e1bf5f.",
          "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": {
        "fixed": [
          "AlmaLinux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
          "AlmaLinux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
          "AlmaLinux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
          "AlmaLinux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
          "Rocky Linux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
          "Rocky Linux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
          "Rocky Linux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
          "Rocky Linux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2026-39979"
        },
        {
          "category": "external",
          "summary": "https://github.com/jqlang/jq/commit/2f09060afab23fe9390cce7cb860b10416e1bf5f",
          "url": "https://github.com/jqlang/jq/commit/2f09060afab23fe9390cce7cb860b10416e1bf5f"
        },
        {
          "category": "external",
          "summary": "https://github.com/jqlang/jq/security/advisories/GHSA-2hhh-px8h-355p",
          "url": "https://github.com/jqlang/jq/security/advisories/GHSA-2hhh-px8h-355p"
        }
      ],
      "release_date": "2026-04-13T23:16:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-05-04T07:55:10.892207Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els/releases/CLSA-2026:1777881308",
          "product_ids": [
            "AlmaLinux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
            "AlmaLinux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
            "AlmaLinux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
            "AlmaLinux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
            "Rocky Linux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
            "Rocky Linux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
            "Rocky Linux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
            "Rocky Linux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64"
          ],
          "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1777881308"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
            "version": "3.1"
          },
          "products": [
            "AlmaLinux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
            "AlmaLinux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
            "AlmaLinux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
            "AlmaLinux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
            "Rocky Linux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.i686",
            "Rocky Linux-9.6:jq-0:1.6-17.el9_6.2.tuxcare.els1.x86_64",
            "Rocky Linux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.i686",
            "Rocky Linux-9.6:jq-devel-0:1.6-17.el9_6.2.tuxcare.els1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ]
    }
  ]
}