CVE-2026-39979: jq is a command-line JSON processor
49
This week
MEDIUM 6.5REMOTEWATCHLISTUPGRADEUPGRADEDOWNGRADE
CVE-2026-39979 is a medium-severity flaw (CVSS 6.5) affecting jq, ai inference server, ansible automation platform. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-39979?
jq: upgrade to 1.8.2; ai inference server: upgrade to 3.2.2, 3.3.5; ansible automation platform: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2026-39979 being exploited?
CVE-2026-39979 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-39979 affect?
CVE-2026-39979 affects jq, ai inference server, ansible automation platform. Severity is medium (CVSS 6.5). 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 buf
How urgent is CVE-2026-39979?
Priority 49/100. Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist