Skip to content
OpenAdvisories
High USN-7657-1 3 CVEs

jq vulnerabilities

Published Jul 21, 2025 · Updated Apr 27, 2026

Summary

It was discovered that jq incorrectly handled certain values when parsing
JSON data. A remote attacker could possibly use this issue to cause jq to
crash, resulting in a denial of service. (CVE-2024-23337)

It was discovered that jq incorrectly handled NaN values when parsing JSON
data. A remote attacker could possibly use this issue to cause jq to crash,
resulting in a denial of service. This issue only affected Ubuntu 24.04
LTS, and Ubuntu 25.04. (CVE-2024-53427)

It was discovered that jq incorrectly handled certain values when parsing
JSON data. A remote attacker could use this issue to cause jq to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2025-48060)

Fixed packages 2

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS jq 1.6-2.1ubuntu3.1
Ubuntu · 24.04 LTS 24.04:LTS jq 1.7.1-3ubuntu0.24.04.1

Vulnerabilities 3

  • High 8.1

    decNumberCopy in decNumber.c in jq through 1.7.1 does not properly consider that NaN is interpreted as numeric, which h…

  • High 7.7
    CVE-2025-48060 Public exploit

    AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)

    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_fuzz_execute harness from oss-fuzz. This crash happens on file jv.c, line 1456 `void* p = malloc(sz);`. As of …

  • Medium 4.3

    jq has signed integer overflow in jv.c:jvp_array_write

    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 2147483647, the signed integer limit. This causes a denial of service. Commit de21386681c0df0104a99d9d09db23a9b2a78b1…

References

  • report
    https://ubuntu.com/security/CVE-2024-23337
  • report
    https://ubuntu.com/security/CVE-2024-53427
  • report
    https://ubuntu.com/security/CVE-2025-48060