UbuntuUpdates.org

Package "jq"

Name: jq

Description:

lightweight and flexible command-line JSON processor

Latest version: 1.6-2.1ubuntu3.3
Release: jammy (22.04)
Level: security
Repository: main
Homepage: https://github.com/stedolan/jq

Links


Download "jq"


Other versions of "jq" in Jammy

Repository Area Version
base main 1.6-2.1ubuntu3
updates main 1.6-2.1ubuntu3.2

Packages in group

Deleted packages are displayed in grey.


Changelog

Version: 1.6-2.1ubuntu3.3 2026-12-01 13:24:11 UTC

jq (1.6-2.1ubuntu3.3) jammy-security; urgency=medium

  * SECURITY UPDATE: filter file truncation vulnerability
    - debian/patches/CVE-2026-41256.patch: reject program files
      loaded with -f that contain NUL bytes
    - CVE-2026-41256
  * SECURITY UPDATE: integer overflow vulnerability
    - debian/patches/CVE-2026-41257.patch: fix signed integer overflow
      in stack_reallocate when the bytecode VM data stack grows large
    - CVE-2026-41257
  * SECURITY UPDATE: path traversal vulnerability
    - debian/patches/CVE-2026-43895.patch: reject embedded NUL bytes in
      import paths so module/data-file lookup cannot be tricked into
      opening a different on-disk path
    - CVE-2026-43895
  * SECURITY UPDATE: denial of service
    - debian/patches/CVE-2026-43896.patch: limit recursive object merge
      depth to prevent unbounded recursion segfault in
      jv_object_merge_recursive
    - CVE-2026-43896
  * SECURITY UPDATE: infinite recursion vulnerability
    - debian/patches/CVE-2026-44777.patch: add cycle detection to the
      module loader so mutually-including modules fail instead of
      recursing
    - debian/patches/CVE-2026-44777-regression.patch: register imported
      libraries in dependency order so definitions referenced through
      bound_by are not dropped
    - CVE-2026-44777
  * SECURITY UPDATE: heap buffer overflow
    - debian/patches/CVE-2026-49839.patch: stop reading a raw file once
      the string length limit is exceeded, preventing an invalid-state
      reuse that overruns the heap in assertion-disabled builds
    - CVE-2026-49839

 -- Shishir Subedi Mon, 30 Nov 2026 12:00:53 +0545

Source diff to previous version
CVE-2026-41256 jq is a command-line JSON processor. In 1.8.1 and earlier, Top-level jq programs loaded from a file with -f are truncated at the first embedded NUL b
CVE-2026-41257 jq is a command-line JSON processor. In 1.8.1 and earlier, the jq bytecode VM's data stack tracks its allocation size in a signed int. When the stack
CVE-2026-43895 jq is a command-line JSON processor. In 1.8.1 and earlier, jq accepts embedded NUL bytes in import paths at the jq-language level, but later resolves
CVE-2026-43896 jq is a command-line JSON processor. In 1.8.1 and earlier, unbounded recursion in jv_object_merge_recursive() allows a crafted jq program to crash th
CVE-2026-44777 jq is a command-line JSON processor. In 1.8.2rc1 and earlier, the ordinary module loader recurses without cycle detection when two otherwise valid mo
CVE-2026-49839 jq is a command-line JSON processor. Prior to 1.8.2,` jq --rawfile` can turn a handled oversized-string error into invalid-state reuse and a real hea

Version: 1.6-2.1ubuntu3.2 2026-04-23 07:08:11 UTC

  jq (1.6-2.1ubuntu3.2) jammy-security; urgency=medium

  * SECURITY UPDATE: Heap Buffer Overflow
    - debian/patches/CVE-2026-32316.patch: Fix heap buffer overflow in
      `jvp_string_append` and `jvp_string_copy_replace_bad`
    - CVE-2026-32316
  * SECURITY UPDATE: Stack Buffer Overflow
    - debian/patches/CVE-2026-33947.patch: Limit path depth to prevent
      stack overflow
    - CVE-2026-33947
  * SECURITY UPDATE: Improper Null Termination
    - debian/patches/CVE-2026-33948.patch: Fix NUL truncation in the
      JSON parser
    - CVE-2026-33948
  * SECURITY UPDATE: Out of Bounds Read
    - debian/patches/CVE-2026-39956.patch: Add runtime type checks to
      f_string_indexes
    - debian/patches/CVE-2026-39979.patch: Fix out-of-bounds read in
      jv_parse_sized()
    - CVE-2026-39956
    - CVE-2026-39979
  * SECURITY UPDATE: Denial of Service
    - debian/patches/CVE-2026-40164.patch: Randomize hash seed to
      mitigate hash collision DoS attacks
    - CVE-2026-40164

 -- Bruce Cable <email address hidden> Mon, 20 Apr 2026 17:29:39 +1000

Source diff to previous version
CVE-2026-32316 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_cop
CVE-2026-33947 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 us
CVE-2026-33948 jq is a command-line JSON processor. Commits before 6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b contain a vulnerability where CLI input parsing allows v
CVE-2026-39956 jq is a command-line JSON processor. In commits after 69785bf77f86e2ea1b4a20ca86775916889e91c9, the _strindices builtin in jq's src/builtin.c passes
CVE-2026-39979 jq is a command-line JSON processor. In commits before 2f09060afab23fe9390cce7cb860b10416e1bf5f, the jv_parse_sized() API in libjq accepts a counted
CVE-2026-40164 jq is a command-line JSON processor. Before commit 0c7d133c3c7e37c00b6d46b658a02244fdd3c784, jq used MurmurHash3 with a hardcoded, publicly visible s

Version: 1.6-2.1ubuntu3.1 2025-07-21 15:11:45 UTC

  jq (1.6-2.1ubuntu3.1) jammy-security; urgency=medium

  * SECURITY UPDATE: integer overflow via signed integer limit
    - debian/patches/CVE-2024-23337.patch: fix signed integer overflow in
      jvp_array_write and jvp_object_rehash in src/jv.c, src/jv_aux.c,
      tests/jq.test.
    - CVE-2024-23337
  * SECURITY UPDATE: heap buffer overflow
    - debian/patches/CVE-2025-48060.patch: fix heap buffer overflow when
      formatting an empty string in src/jv.c, tests/jq.test.
    - CVE-2025-48060

 -- Marc Deslauriers <email address hidden> Wed, 16 Jul 2025 11:37:01 -0400

CVE-2024-23337 jq is a command-line JSON processor. In versions up to and including 1.7.1, an integer overflow arises when assigning value using an index of 2147483
CVE-2025-48060 jq is a command-line JSON processor. In versions up to and including 1.7.1, a heap-buffer-overflow is present in function `jv_string_vfmt` in the jq_



About   -   Send Feedback to @ubuntu_updates