CVE-2026-39979
Linux Debian vulnerability analysis and mitigation

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.


SourceNVD

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-40164HIGH7.5
  • Linux DebianLinux Debian
  • jq-devel
NoNoApr 14, 2026
CVE-2026-2332HIGH7.4
  • JavaJava
  • jetty12
NoYesApr 14, 2026
CVE-2026-39979MEDIUM6.9
  • Linux DebianLinux Debian
  • jq
NoNoApr 13, 2026
CVE-2026-33929MEDIUM4.3
  • JavaJava
  • org.apache.pdfbox:pdfbox-examples
NoYesApr 14, 2026
CVE-2026-33948LOW2.9
  • Linux DebianLinux Debian
  • jq
NoNoApr 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management