Integer Overflow or Wraparound Affecting jq package, versions <1.5+dfsg-1ubuntu0.1+esm3


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.06% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-JQ-10232418
  • published24 Jul 2025
  • disclosed21 May 2025

Introduced: 21 May 2025

CVE-2024-23337  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 jq to version 1.5+dfsg-1ubuntu0.1+esm3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jq package and not the jq package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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 de21386681c0df0104a99d9d09db23a9b2a78b1e contains a patch for the issue.

CVSS Base Scores

version 3.1