8.2

CVE-2026-32316: jq: Integer overflow in jvp_string_append() allows Heap-based Buffer Overflow

Modified
AliasesALPINE-CVE-2026-32316UBUNTU-CVE-2026-32316DEBIAN-CVE-2026-32316
Published 13-04-2026Last modified 16-10-2026

Vulnerability summary

CVE-2026-32316 is a high (CVSS 8.2) Heap-based Buffer Overflow vulnerability in jqlang jq. EPSS estimates a 0.79% chance of exploitation in the next 30 days, higher than 56.3% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.2/10
010
High · v3.1 (CVE.org)
EPSS score
0.79%
0%100%
Low · +0.31 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 11 · Related 11

Timeline

  1. 13-04-2026
    PublishedVulnerability first disclosed.
  2. 16-10-2026
    Last modifiedVulnerability information updated.

Description

jq is a command-line JSON processor. An integer overflow vulnerability exists through version 1.8.1 within the jvp_string_append() and jvp_string_copy_replace_bad functions, where concatenating strings with a combined length exceeding 2^31 bytes causes a 32-bit unsigned integer overflow in the buffer allocation size calculation, resulting in a drastically undersized heap buffer. Subsequent memory copy operations then write the full string data into this undersized buffer, causing a heap buffer overflow classified as CWE-190 (Integer Overflow) leading to CWE-122 (Heap-based Buffer Overflow). Any system evaluating untrusted jq queries is affected, as an attacker can crash the process or potentially achieve further exploitation through heap corruption by crafting queries that produce extremely large strings. The root cause is the absence of string size bounds checking, unlike arrays and objects which already have size limits. The issue has been addressed in commit e47e56d226519635768e6aab2f38f0ab037c09e5.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.79%

Chance of exploitation in the next 30 days

Percentile

56%

Versus all other CVEs

30-day change

Increase +0.31 pp

From 0.49% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Jq

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • jq< 1.8.2-r0
Chainguard1 product
  • jq< 1.8.1-r5
Debian1 product
  • jq< 1.6-2.1+deb12u2 | < 1.6-2.1+deb12u3 | < 1.7.1-6+deb13u3 | < 1.8.1-5
Jqlang1 product
  • jq< e47e56d226519635768e6aab2f38f0ab037c09e5 | ≤ 1.8.1
Ubuntu1 product
  • jqAll versions (No fix recorded) | < 1.5+dfsg-1ubuntu0.1+esm4 | < 1.5+dfsg-2ubuntu0.1~esm2 | < 1.6-1ubuntu0.20.04.1+esm2 | < 1.6-2.1ubuntu3.2 | < 1.7.1-3ubuntu0.24.04.2 | < 1.8.1-3ubuntu1.1 | < 1.8.1-4ubuntu2
Wolfi1 product
  • jq< 1.8.1-r5

6 vendors · 6 products

References

11 links
Show all 11 references