CVE-2024-53427 Affecting jq package, versions <1.7.1-r4


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.39% (34th 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-WOLFILATEST-JQ-15393551
  • published4 Mar 2026
  • disclosed26 Feb 2025

Introduced: 26 Feb 2025

CVE-2024-53427  (opens in a new tab)

How to fix?

Upgrade Wolfi jq to version 1.7.1-r4 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 Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

decNumberCopy in decNumber.c in jq through 1.7.1 does not properly consider that NaN is interpreted as numeric, which has a resultant stack-based buffer overflow and out-of-bounds write, as demonstrated by use of --slurp with subtraction, such as a filter of .-. when the input has a certain form of digit string with NaN (e.g., "1 NaN123" immediately followed by many more digits).

CVSS Base Scores

version 3.1