CVE-2024-23337

jq has signed integer overflow in jv.c:jvp_array_write

State
Published
Severity
4.3 Medium
Published
May 21, 2025
Updated
May 21, 2025
Reserved
Jan 15, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LGitHub_M

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
jqjqlang
  • <= 1.7.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.