UbuntuUpdates.org

Package "jq"

Name: jq

Description:

lightweight and flexible command-line JSON processor

Latest version: 1.8.1-4ubuntu2.1
Release: resolute (26.04)
Level: security
Repository: main
Homepage: https://jqlang.github.io/jq

Links


Download "jq"


Other versions of "jq" in Resolute

Repository Area Version
base main 1.8.1-4ubuntu1
updates main 1.8.1-4ubuntu2

Packages in group

Deleted packages are displayed in grey.


Changelog

Version: 1.8.1-4ubuntu2.1 2026-12-01 13:24:26 UTC

jq (1.8.1-4ubuntu2.1) resolute-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:50 +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.8.1-4ubuntu2 2026-04-28 05:07:56 UTC

  jq (1.8.1-4ubuntu2) resolute; 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:13:52 +1000

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



About   -   Send Feedback to @ubuntu_updates