{
  "cveId": "CVE-2026-49839",
  "url": "https://patchblox.com/security/cve/CVE-2026-49839",
  "summary": "CVE-2026-49839 is fixed in 4 products on 1 platform, first by ALAS2023-2026-1860, released June 22, 2026. It is not reported as exploited. Patch Radar priority: High.",
  "title": "jq --rawfile invalid-state reuse after String too long causes heap-buffer-overflow",
  "description": "jq is a command-line JSON processor. Prior to 1.8.2,\u0060 jq --rawfile\u0060 can turn a handled oversized-string error into invalid-state reuse and a real heap out-of-bounds write in assertion-disabled builds. When jv_load_file(raw=1) reads an attacker-controlled file, it repeatedly appends file chunks to the same jv string accumulator. Once jv_string_append_buf() returns jv_invalid_with_msg(\u0022String too long\u0022), the raw-file loop does not stop. If the file contains at least one more byte, the next loop iteration appends a new chunk to an object that is already invalid. With assertions enabled this aborts in jvp_string_ptr(). With assertions disabled, the invalid object is interpreted as a string object and ASan reports heap-buffer-overflow. This vulnerability is fixed in 1.8.2.",
  "published": "2026-06-22T09:00:00Z",
  "severity": "Important",
  "cvss": 7.1,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H",
  "cwe": "Out-of-bounds Write",
  "epss": 0.00165,
  "epssPercentile": 0.05737,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-49839",
  "fixes": [
    {
      "platform": "linux",
      "product": "jq",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "1.6-2.1\u002Bdeb12u2",
      "fix": "DEBIAN-CVE-2026-49839",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-49839",
      "released": "2026-06-24T14:07:24Z"
    },
    {
      "platform": "linux",
      "product": "jq",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "1.7.1-6\u002Bdeb13u3",
      "fix": "DEBIAN-CVE-2026-49839",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-49839",
      "released": "2026-06-24T14:07:24Z"
    },
    {
      "platform": "linux",
      "product": "jq",
      "release": "Debian 14",
      "fixedVersion": "1.8.1-8",
      "fix": "DEBIAN-CVE-2026-49839",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-49839",
      "released": "2026-06-24T14:07:24Z"
    },
    {
      "platform": "linux",
      "product": "jq",
      "release": "amzn 2023",
      "fixedVersion": "1.8.1-60.amzn2023",
      "fix": "ALAS2023-2026-1860",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2026-1860",
      "released": "2026-06-22T09:00:00Z"
    },
    {
      "platform": "linux",
      "product": "jq",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "1.7.1-160000.4.1",
      "fix": "OPENSUSE-SU-2026:21318-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21318-1",
      "released": "2026-07-13T10:29:44Z"
    },
    {
      "platform": "linux",
      "product": "jq",
      "release": "sles 15.6",
      "fixedVersion": "1.7.1-150000.3.25.1",
      "fix": "SUSE-SU-2026:4275-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4275-1",
      "released": "2026-09-21T07:33:03Z"
    },
    {
      "platform": "linux",
      "product": "jq",
      "release": "sles 15.7",
      "fixedVersion": "1.7.1-150000.3.25.1",
      "fix": "SUSE-SU-2026:4275-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4275-1",
      "released": "2026-09-21T07:33:03Z"
    },
    {
      "platform": "linux",
      "product": "jq",
      "release": "sles 16.0",
      "fixedVersion": "1.7.1-160000.4.1",
      "fix": "SUSE-SU-2026:22637-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-22637-1",
      "released": "2026-07-13T10:29:49Z"
    },
    {
      "platform": "linux",
      "product": "jq-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "1.8.1-60.amzn2023",
      "fix": "ALAS2023-2026-1860",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2026-1860",
      "released": "2026-06-22T09:00:00Z"
    },
    {
      "platform": "linux",
      "product": "jq-debugsource",
      "release": "amzn 2023",
      "fixedVersion": "1.8.1-60.amzn2023",
      "fix": "ALAS2023-2026-1860",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2026-1860",
      "released": "2026-06-22T09:00:00Z"
    },
    {
      "platform": "linux",
      "product": "jq-devel",
      "release": "amzn 2023",
      "fixedVersion": "1.8.1-60.amzn2023",
      "fix": "ALAS2023-2026-1860",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2026-1860",
      "released": "2026-06-22T09:00:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T19:12:23Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}