Skip to content
OpenAdvisories
High SUSE-SU-2026:2983-1 5 CVEs

Security update for jq

Published Jul 14, 2026 · Updated Jul 15, 2026

Summary

This update for jq fixes the following issues:

- CVE-2026-32316: integer overflow within the `jvp_string_append()` and `jvp_string_copy_replace_bad` functions can
lead to heap buffer overflow when evaluating untrusted jq queries (bsc#1262044).
- CVE-2026-33947: unbounded recursion in functions `jv_setpath()`, `jv_getpath()`, and `delpaths_sorted()` can lead to
excessive resource consumption when processing crafted JSON input (bsc#1262069).
- CVE-2026-39956: missing runtime type checks in `_strindices` and `jv_string_indexes()` can lead to a crash when
evaluating untrusted jq filters against a release build (bsc#1262070).
- CVE-2026-39979: incorrect processing of non-nul-terminated counted buffers in `jv_parse_sized` can lead to an
out-of-bounds read when processing malformed JSON (bsc#1262071).
- CVE-2026-40164: use of `MurmurHash3` with a hardcoded seed allows pre-computation of key collisions and can lead to a
denial of service via resource exhaustion when processing crafted JSON objects (bsc#1262072).

Fixed packages 4

ReleasePackageFixed in
SUSE · SLE Micro 5.3 Linux Enterprise Micro 5.3 jq 1.6-150000.3.20.1
SUSE · SLE Micro 5.4 Linux Enterprise Micro 5.4 jq 1.6-150000.3.20.1
SUSE · SLE Micro 5.5 Linux Enterprise Micro 5.5 jq 1.6-150000.3.20.1
SUSE · SLES 15 SP7 Linux Enterprise Module for Basesystem 15 SP7 jq 1.6-150000.3.20.1

Vulnerabilities 5

  • High 8.2

    jq: Integer overflow in jvp_string_append() allows Heap-based Buffer Overflow

    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-b…

  • High 7.5

    jq: Algorithmic complexity DoS via hardcoded MurmurHash3 seed

    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 collis…

  • Medium 6.9

    jq: Out-of-Bounds Read in jv_parse_sized() Error Formatting for Non-NUL-Terminated Counted Buffers

    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_…

  • Medium 6.2

    jq: Unbounded Recursion in jv_setpath(), jv_getpath() and delpaths_sorted()

    jq is a command-line JSON processor. In versions 1.8.1 and below, functions jv_setpath(), jv_getpath(), and delpaths_sorted() in jq's src/jv_aux.c use unbounded recursion whose depth is controlled by the length of a caller-supplied path array, with no depth l…

  • Medium 6.1

    jq: Missing runtime type checks for _strindices lead to crash and limited memory disclosure

    jq is a command-line JSON processor. Prior to version 1.8.2, the _strindices builtin in jq's src/builtin.c passes its arguments directly to jv_string_indexes() without verifying they are strings, and jv_string_indexes() in src/jv.c relies solely on assert() c…

References

  • report
    https://bugzilla.suse.com/1262044
  • report
    https://bugzilla.suse.com/1262069
  • report
    https://bugzilla.suse.com/1262070
  • report
    https://bugzilla.suse.com/1262071
  • report
    https://bugzilla.suse.com/1262072
  • web
    https://www.suse.com/security/cve/CVE-2026-32316
  • web
    https://www.suse.com/security/cve/CVE-2026-33947
  • web
    https://www.suse.com/security/cve/CVE-2026-39956
  • web
    https://www.suse.com/security/cve/CVE-2026-39979
  • web
    https://www.suse.com/security/cve/CVE-2026-40164