{
  "threat_severity" : "Important",
  "public_date" : "2026-04-13T23:40:12Z",
  "bugzilla" : {
    "description" : "jq: jq: Denial of Service via crafted JSON object causing hash collisions",
    "id" : "2458084",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2458084"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-341",
  "details" : [ "jq is a command-line JSON processor. Before commit 0c7d133c3c7e37c00b6d46b658a02244fdd3c784, jq used MurmurHash3 with a hardcoded, publicly visible seed (0x432A9843) for all JSON object hash table operations, which allowed an attacker to precompute key collisions offline. By supplying a crafted JSON object (~100 KB) where all keys hashed to the same bucket, hash table lookups degraded from O(1) to O(n), turning any jq expression into an O(n²) operation and causing significant CPU exhaustion. This affected common jq use cases such as CI/CD pipelines, web services, and data processing scripts, and was far more practical to exploit than existing heap overflow issues since it required only a small payload. This issue has been patched in commit 0c7d133c3c7e37c00b6d46b658a02244fdd3c784.", "A flaw was found in jq, a command-line JSON processor. A remote attacker could exploit this vulnerability by providing a specially crafted JSON object. This object leverages a weakness in jq's hashing algorithm, which uses a hardcoded, publicly known seed. By crafting the JSON object to cause hash collisions, an attacker can degrade the performance of JSON object hash table operations, leading to significant CPU exhaustion and a denial of service (DoS) for systems processing the malicious JSON data." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "release_date" : "2026-05-13T00:00:00Z",
    "advisory" : "RHSA-2026:16692",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10.1",
    "package" : "jq-0:1.7.1-11.el10_1.0.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 10",
    "release_date" : "2026-05-19T00:00:00Z",
    "advisory" : "RHSA-2026:19151",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10.2",
    "package" : "jq-0:1.7.1-11.el10_2.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 10.0 Extended Update Support",
    "release_date" : "2026-05-18T00:00:00Z",
    "advisory" : "RHSA-2026:18040",
    "cpe" : "cpe:/o:redhat:enterprise_linux_eus:10.0",
    "package" : "jq-0:1.7.1-8.el10_0.3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2026-05-12T00:00:00Z",
    "advisory" : "RHSA-2026:16252",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "jq-0:1.6-12.el8_10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support",
    "release_date" : "2026-05-18T00:00:00Z",
    "advisory" : "RHSA-2026:18048",
    "cpe" : "cpe:/a:redhat:rhel_aus:8.4",
    "package" : "jq-0:1.5-12.el8_4.5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On",
    "release_date" : "2026-05-18T00:00:00Z",
    "advisory" : "RHSA-2026:18048",
    "cpe" : "cpe:/a:redhat:rhel_eus_long_life:8.4",
    "package" : "jq-0:1.5-12.el8_4.5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support",
    "release_date" : "2026-05-18T00:00:00Z",
    "advisory" : "RHSA-2026:18047",
    "cpe" : "cpe:/a:redhat:rhel_aus:8.6",
    "package" : "jq-0:1.6-3.el8_6.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Telecommunications Update Service",
    "release_date" : "2026-05-18T00:00:00Z",
    "advisory" : "RHSA-2026:18047",
    "cpe" : "cpe:/a:redhat:rhel_tus:8.6",
    "package" : "jq-0:1.6-3.el8_6.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions",
    "release_date" : "2026-05-18T00:00:00Z",
    "advisory" : "RHSA-2026:18047",
    "cpe" : "cpe:/a:redhat:rhel_e4s:8.6",
    "package" : "jq-0:1.6-3.el8_6.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.8 Telecommunications Update Service",
    "release_date" : "2026-05-18T00:00:00Z",
    "advisory" : "RHSA-2026:18046",
    "cpe" : "cpe:/a:redhat:rhel_tus:8.8",
    "package" : "jq-0:1.6-6.el8_8.4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions",
    "release_date" : "2026-05-18T00:00:00Z",
    "advisory" : "RHSA-2026:18046",
    "cpe" : "cpe:/a:redhat:rhel_e4s:8.8",
    "package" : "jq-0:1.6-6.el8_8.4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2026-05-13T00:00:00Z",
    "advisory" : "RHSA-2026:16693",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "jq-0:1.6-19.el9_7.0.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2026-05-19T00:00:00Z",
    "advisory" : "RHSA-2026:19365",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "jq-0:1.6-19.el9_8.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions",
    "release_date" : "2026-05-18T00:00:00Z",
    "advisory" : "RHSA-2026:18045",
    "cpe" : "cpe:/a:redhat:rhel_e4s:9.0",
    "package" : "jq-0:1.6-12.el9_0.3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
    "release_date" : "2026-05-18T00:00:00Z",
    "advisory" : "RHSA-2026:18044",
    "cpe" : "cpe:/a:redhat:rhel_e4s:9.2",
    "package" : "jq-0:1.6-15.el9_2.3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.4 Extended Update Support",
    "release_date" : "2026-05-18T00:00:00Z",
    "advisory" : "RHSA-2026:18043",
    "cpe" : "cpe:/o:redhat:rhel_eus:9.4",
    "package" : "jq-0:1.6-16.el9_4.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.6 Extended Update Support",
    "release_date" : "2026-05-18T00:00:00Z",
    "advisory" : "RHSA-2026:18042",
    "cpe" : "cpe:/o:redhat:rhel_eus:9.6",
    "package" : "jq-0:1.6-17.el9_6.4"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.15",
    "release_date" : "2026-06-11T00:00:00Z",
    "advisory" : "RHSA-2026:23233",
    "cpe" : "cpe:/a:redhat:openshift:4.15::el9",
    "package" : "rhcos-415.92.202606030318-0"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.16",
    "release_date" : "2026-06-18T00:00:00Z",
    "advisory" : "RHSA-2026:25044",
    "cpe" : "cpe:/a:redhat:openshift:4.16::el9",
    "package" : "rhcos-416.94.202606051757-0"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.18",
    "release_date" : "2026-06-17T00:00:00Z",
    "advisory" : "RHSA-2026:25181",
    "cpe" : "cpe:/a:redhat:openshift:4.18::el9",
    "package" : "rhcos-418.94.202606051320-0"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.19",
    "release_date" : "2026-06-10T00:00:00Z",
    "advisory" : "RHSA-2026:23245",
    "cpe" : "cpe:/a:redhat:openshift:4.19::el9",
    "package" : "rhcos-4.19.9.6.202606031700-0"
  }, {
    "product_name" : "Red Hat AI Inference Server 3.2",
    "release_date" : "2026-06-10T00:00:00Z",
    "advisory" : "RHSA-2026:25096",
    "cpe" : "cpe:/a:redhat:ai_inference_server:3.2::el9",
    "package" : "rhaiis/model-opt-cuda-rhel9:1780681984"
  }, {
    "product_name" : "Red Hat Hardened Images",
    "release_date" : "2026-04-16T00:00:00Z",
    "advisory" : "RHSA-2026:8579",
    "cpe" : "cpe:/a:redhat:hummingbird:1",
    "package" : "jq-main-1.8.1-3.hum1"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-40164\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-40164\nhttps://github.com/jqlang/jq/commit/0c7d133c3c7e37c00b6d46b658a02244fdd3c784\nhttps://github.com/jqlang/jq/security/advisories/GHSA-wwj8-gxm6-jc29" ],
  "name" : "CVE-2026-40164",
  "mitigation" : {
    "value" : "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.",
    "lang" : "en:us"
  },
  "csaw" : false
}