CVE-2026-54679

jq: potential integer overflow in jvp_string_append

Published Jun 25, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
jq is a command-line JSON processor. Prior to 1.8.2, on 32bit system, jvp_string_append has a chance of integer/multiple overflowing and then causing a massive buffer overrun. This vulnerability is fixed in 1.8.2.

Analysis

AI-generated

Technical impact

The vulnerability is located in the jvp_string_append function of the jq JSON processor. On 32-bit systems, the function may overflow its integer and multiplier variables when processing input, which can lead to a massive buffer overrun. This overflow can corrupt adjacent memory, potentially resulting in arbitrary code execution or causing a crash that may disrupt service availability. The weakness is classified as CWE-190.

Affected Systems

All installations of jq prior to version 1.8.2 running on 32-bit architectures are affected. The vendor jqlang:jq released a fix in the 1.8.2 release. Any deployment that continues to use older jq binaries on 32-bit hardware must be identified and upgraded.

Risk and Exploitability

Based on the description, it is inferred that an attacker who can supply or influence input parsed by jq could potentially trigger the overflow. The likely attack vector would involve providing specially crafted JSON data that causes jvp_string_append to overflow. The CVSS score of 6.9 indicates a moderate to high severity impact. EPSS data is not available, so the likelihood of exploitation is not quantified. The vulnerability is not listed in the CISA KEV catalog. Without further information, the possibility of successful exploitation remains uncertain, but the existence of a buffer overrun implies that exploitation could lead to arbitrary code execution or denial of service if conditions are met.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade jq to version 1.8.2 or later to apply the fix for the integer overflow in jvp_string_append.
  • If an upgrade cannot be performed immediately, run jq only on 64-bit systems or ensure that input processed by jq is strictly validated or sanitized to prevent large integer values.
  • Monitor affected environments for signs of memory corruption or crashes and plan a patch deployment as soon as possible, especially if untrusted JSON is processed.

Generated by OpenCVE AI on June 25, 2026 at 18:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4661-1 jq security update
Debian DLA Debian DLA DLA-4662-1 jq security update
Debian DSA Debian DSA DSA-6416-1 jq security update
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Jqlang
Jqlang jq
Vendors & Products Jqlang
Jqlang jq
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description jq is a command-line JSON processor. Prior to 1.8.2, on 32bit system, jvp_string_append has a chance of integer/multiple overflowing and then causing a massive buffer overrun. This vulnerability is fixed in 1.8.2.
Title jq: potential integer overflow in jvp_string_append
Weaknesses CWE-190
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 25, 2026, 6:09 PM
Reserved
Jun 15, 2026, 10:53 PM
Status
Analyzed
Published
Jun 25, 2026, 6:16 PM
Modified
Oct 25, 2026, 10:10 PM
Severity
Moderate
Public date
Jun 25, 2026, 5:16 PM