CVE-2024-23337
published 2025-05-21CVE-2024-23337: 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…
PriorityP428medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
0.35%
27.0th percentile
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.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | jq | < jq 1.7.1-6 (forky) | jq 1.7.1-6 (forky) |
| jqlang | jq | <= 1.7.1 | — |
| jqlang | jq | >= 0 < 1.7.1-6 | 1.7.1-6 |
| jqlang | jq | >= 0 < 1.7.1-6 | 1.7.1-6 |
| jqlang | jq | >= 0 < 1.6-2.1ubuntu3.1 | 1.6-2.1ubuntu3.1 |
| jqlang | jq | >= 0 < 1.7.1-3ubuntu0.24.04.1 | 1.7.1-3ubuntu0.24.04.1 |
| jqlang | jq | >= 0 < 1.5+dfsg-1ubuntu0.1+esm3 | 1.5+dfsg-1ubuntu0.1+esm3 |
| jqlang | jq | >= 0 < 1.5+dfsg-2ubuntu0.1~esm1 | 1.5+dfsg-2ubuntu0.1~esm1 |
| jqlang | jq | >= 0 < 1.6-1ubuntu0.20.04.1+esm1 | 1.6-1ubuntu0.20.04.1+esm1 |
| msrc | azl3_jq_1.7.1-3_on_azure_linux_3.0 | — | — |
| msrc | cbl2_jq_1.6-3_on_cbl_mariner_2.0 | — | — |
| msrc | cm2_jq_1.6-3_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
osv6.5MEDIUM
vendor_debian4.3LOW
vendor_msrc4.3MEDIUM
vendor_redhat4.3MEDIUM
vendor_ubuntu4.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
jq vulnerabilities
osv·2025-07-22·CVSS 6.5
CVE-2024-23337 [MEDIUM] jq vulnerabilities
jq vulnerabilities
USN-7657-1 fixed CVE-2024-23337 and CVE-2025-48060 in jq. This update
provides the corresponding fixes for Ubuntu 20.04 LTS, Ubuntu 18.04 LTS,
and Ubuntu 16.04 LTS.
Original advisory details:
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 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)
OSV
jq vulnerabilities
osv·2025-07-21·CVSS 6.5
CVE-2024-23337 [MEDIUM] jq vulnerabilities
jq vulnerabilities
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)
OSV
CVE-2024-23337: jq is a command-line JSON processor
osv·2025-05-21·CVSS 6.5
CVE-2024-23337 [MEDIUM] CVE-2024-23337: jq is a command-line JSON processor
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.
Ubuntu
jq vulnerabilities
vendor_ubuntu·2025-07-22·CVSS 4.3
CVE-2025-48060 [MEDIUM] jq vulnerabilities
Title: jq vulnerabilities
Summary: Several security issues were fixed in jq.
USN-7657-1 fixed CVE-2024-23337 and CVE-2025-48060 in jq. This update
provides the corresponding fixes for Ubuntu 20.04 LTS, Ubuntu 18.04 LTS,
and Ubuntu 16.04 LTS.
Original advisory details:
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 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)
Instructions: In general, a standard system update will make all the necessary changes
Ubuntu
jq vulnerabilities
vendor_ubuntu·2025-07-21·CVSS 4.3
CVE-2025-48060 [MEDIUM] jq vulnerabilities
Title: jq vulnerabilities
Summary: Several security issues were fixed in jq.
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)
Instructions: In
Red Hat
jq: jq has signed integer overflow in jv.c:jvp_array_write
vendor_redhat·2025-05-21·CVSS 4.3
CVE-2024-23337 [MEDIUM] CWE-190 jq: jq has signed integer overflow in jv.c:jvp_array_write
jq: 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 de21386681c0df0104a99d9d09db23a9b2a78b1e contains a patch for the issue.
A flaw was found in jq, a command line JSON processor. An integer overflow can occur when attempting to assign a value using an array index of 2147483647 or when creating an array with 2147483647 elements, the maximum value for a 32-bit signed integer. This issue causes out-of-bounds memory access and results in a denial of service.
Statement: To exploit this flaw, an attacker needs to trick a user into processing a specially crafted JSON in
Microsoft
jq has signed integer overflow in jv.c:jvp_array_write
vendor_msrc·2025-05-13·CVSS 4.3
CVE-2024-23337 [MEDIUM] CWE-190 jq has signed integer overflow in jv.c:jvp_array_write
jq has signed integer overflow in jv.c:jvp_array_write
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
GitHub_M: GitHub_M
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://
Debian
CVE-2024-23337: jq - jq is a command-line JSON processor. In versions up to and including 1.7.1, an i...
vendor_debian·2024·CVSS 4.3
CVE-2024-23337 [MEDIUM] CVE-2024-23337: jq - jq is a command-line JSON processor. In versions up to and including 1.7.1, an i...
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.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 1.7.1-6)
sid: resolved (fixed in 1.7.1-6)
trixie: resolved (fixed in 1.7.1-6)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2024-23337 jq: jq has signed integer overflow in jv.c:jvp_array_write [fedora-42]
bugzilla·2025-06-04·CVSS 6.5
CVE-2024-23337 [MEDIUM] CVE-2024-23337 jq: jq has signed integer overflow in jv.c:jvp_array_write [fedora-42]
CVE-2024-23337 jq: jq has signed integer overflow in jv.c:jvp_array_write [fedora-42]
More information about this security flaw is available in the following bug:
https://bugzilla.redhat.com/show_bug.cgi?id=2367807
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Discussion:
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '42'.
Pa
Bugzilla
CVE-2024-23337 jq: jq has signed integer overflow in jv.c:jvp_array_write
bugzilla·2025-05-21·CVSS 6.5
CVE-2024-23337 [MEDIUM] CVE-2024-23337 jq: jq has signed integer overflow in jv.c:jvp_array_write
CVE-2024-23337 jq: 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 de21386681c0df0104a99d9d09db23a9b2a78b1e contains a patch for the issue.
Discussion:
This issue has been addressed in the following products:
Red Hat Enterprise Linux 9
Via RHSA-2025:10585 https://access.redhat.com/errata/RHSA-2025:10585
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 9.4 Extended Update Support
Via RHSA-2025:10613 https://access.redhat.com/errata/RHSA-2025:10613
---
This issue has been addressed in the following products:
Red Hat Ente
2025-05-21
Published