CVE-2023-50246

jq has heap-buffer-overflow vulnerability in the function decToString in decNumber.c

State
Published
Severity
6.2 Medium
Published
Dec 13, 2023
Updated
Feb 13, 2025
Reserved
Dec 5, 2023

Read the record on cve.org

Description

jq is a command-line JSON processor. Version 1.7 is vulnerable to heap-based buffer overflow. Version 1.7.1 contains a patch for this issue.

Scores

CVSSScoreVectorSource
3.16.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-122 Heap-based Buffer Overflow
  • CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Affected Products

ProductVersions
jqjqlang
  • = 1.7Affected

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.