Home / jqlang / jq / CVE-2026-32316
CVE-2026-32316: is it exploited, and which versions of jqlang jq are affected and fixed?
CVE-2026-32316 is a heap buffer overflow vulnerability in jqlang jq. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: jq < e47e56d226519635768e6aab2f38f0ab037c09e5 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.2, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-32316?
jq: Integer overflow in jvp_string_append() allows Heap-based Buffer Overflow
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.
From the CVE record by GitHub_M, last updated October 16, 2026, 22:06 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| jqlang | jq | < e47e56d226519635768e6aab2f38f0ab037c09e5 |
As the CVE record by GitHub_M states it, last updated October 16, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| jqlang | jq | through 1.8.1 | application |
NVD analysis (status Modified), last modified October 26, 2026, 22:10 UTC.
How severe is CVE-2026-32316?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-32316 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, April 13, 2026)
- EPSS
- 0.82% probability of exploitation activity in the next 30 days, percentile 58.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/jqlang/jq/security/advisories/GHSA-q3h9-m34w-h76f x_refsource_CONFIRM
- https://github.com/jqlang/jq/commit/e47e56d226519635768e6aab2f38f0ab037c09e5 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2026/10/msg00034.html
When was it published, and where is the official record?
- Reserved
- March 11, 2026
- Published
- April 13, 2026, 17:49 UTC
- CVE record updated
- October 16, 2026, 22:06 UTC by GitHub_M
- NVD
- Modified, last modified October 26, 2026, 22:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect jq?
- Jun 25, 2026CVE-2026-47770 jqlang jq: uncontrolled recursion
- Jun 25, 2026CVE-2026-49839 jqlang jq: out-of-bounds write (memory corruption)
- Jun 25, 2026CVE-2026-54679 jqlang jq: integer overflow
- May 11, 2026CVE-2026-43896 jqlang jq: uncontrolled recursion
- May 11, 2026CVE-2026-43895 jqlang jq: improper input validation
- May 11, 2026CVE-2026-44777 jqlang jq: uncontrolled recursion
- May 11, 2026CVE-2026-43894 jqlang jq: integer overflow
- May 11, 2026CVE-2026-41256 jqlang jq: improper Neutralization of Null Byte or NUL Character
Questions about CVE-2026-32316
Is CVE-2026-32316 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.82% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of jqlang jq are affected by CVE-2026-32316?
jq < e47e56d226519635768e6aab2f38f0ab037c09e5, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-32316?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-32316?
High (8.2, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-32316?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.