SicherheitslageDEEN

CVE-2026-39979

jqlang jq

Patch priority

Regular

Fix with the next regular update.

CVSS
6.5
Severity
6.5
EPSS
0.6 %
Percentile
50
Actively exploited
not known

The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary

What do I need to do?

in plain words

Who is affected?

Only those who run jqlang jq. The vendor name tells you whether the product is in use at your place.

How dangerous is it?

What to do?

  1. Include it in your next regular update.
  2. The vendor’s advisories (linked below) name the fixed version.
  3. If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.

Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained

Description

NVD

jq is a command-line JSON processor. In commits before 2f09060afab23fe9390cce7cb860b10416e1bf5f, the jv_parse_sized() API in libjq accepts a counted buffer with an explicit length parameter, but its error-handling path formats the input buffer using %s in jv_string_fmt(), which reads until a NUL terminator is found rather than respecting the caller-supplied length. This means that when malformed JSON is passed in a non-NUL-terminated buffer, the error construction logic performs an out-of-bounds read past the end of the buffer. The vulnerability is reachable by any libjq consumer calling jv_parse_sized() with untrusted input, and depending on memory layout, can result in memory disclosure or process termination. The issue has been patched in commit 2f09060afab23fe9390cce7cb860b10416e1bf5f.

Vendor / product
jqlang jq
Published
14.04.2026
Modified
26.10.2026
CWE
CWE-125
Status
Analyzed

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Vendor reference

Vendor updates

38

Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.