Skip to main content
Network Thinking Solutions Logo

CVE-2026-39979

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.

All CVEs
CVE-2026-39979Published 4/13/2026

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.

Vendor advisory
CVSS6.9Medium

Overview

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.

Published
4/13/2026
Last modified
10/26/2026
Assigned by
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
jq
jqlang
< 1.8.2

Verify advisory

Source
ai inference server
redhat
≥ 3.2.0, < 3.2.2

Verify advisory

Source
ai inference server
redhat
≥ 3.3.0, < 3.3.5

Verify advisory

Source
ansible automation platform
redhat
2.0

Verify advisory

Source
ceph storage
redhat
4.0

Verify advisory

Source
codeready linux builder
redhat
8.0

Verify advisory

Source
codeready linux builder
redhat
9.0

Verify advisory

Source
codeready linux builder
redhat
10.0

Verify advisory

Source
codeready linux builder eus
redhat
9.4

Verify advisory

Source
codeready linux builder eus
redhat
9.6

Verify advisory

Source
codeready linux builder eus
redhat
10.0

Verify advisory

Source
hardened images
redhat
Range not specified — verify advisory

Verify advisory

Source
openshift ai
redhat
≥ 3.4, < 3.4.3

Verify advisory

Source
openshift container platform
redhat
≥ 4.12, < 4.12.92

Verify advisory

Source
openshift container platform
redhat
≥ 4.13, < 4.13.68

Verify advisory

Source
openshift container platform
redhat
≥ 4.14, < 4.14.68

Verify advisory

Source
openshift container platform
redhat
≥ 4.15, < 4.15.65

Verify advisory

Source
openshift container platform
redhat
≥ 4.16, < 4.16.64

Verify advisory

Source
openshift container platform
redhat
≥ 4.17, < 4.17.55

Verify advisory

Source
openshift container platform
redhat
≥ 4.18, < 4.18.44

Verify advisory

Source
openshift container platform
redhat
≥ 4.19, < 4.19.33

Verify advisory

Source
enterprise linux
redhat
8.0

Verify advisory

Source
enterprise linux
redhat
9.0

Verify advisory

Source
enterprise linux
redhat
10.0

Verify advisory

Source
enterprise linux aus
redhat
8.4

Verify advisory

Source
enterprise linux aus
redhat
8.6

Verify advisory

Source
enterprise linux eus
redhat
8.4

Verify advisory

Source
enterprise linux eus
redhat
9.4

Verify advisory

Source
enterprise linux eus
redhat
9.6

Verify advisory

Source
enterprise linux eus
redhat
10.0

Verify advisory

Source
enterprise linux tus
redhat
8.6

Verify advisory

Source
enterprise linux tus
redhat
8.8

Verify advisory

Source
enterprise linux update services for sap solutions
redhat
8.6

Verify advisory

Source
enterprise linux update services for sap solutions
redhat
8.8

Verify advisory

Source
enterprise linux update services for sap solutions
redhat
9.0

Verify advisory

Source
enterprise linux update services for sap solutions
redhat
9.2

Verify advisory

Source
jq
jqlang
< 2f09060afab23fe9390cce7cb860b10416e1bf5f

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 6.9. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.