SecurityContext

CVE-2026-40612: jq - Denial of Service

  • Cve: CVE-2026-40612
  • Name: jq - Denial of Service
  • Description: jq is a command-line JSON processor. In 1.8.1 and earlier, jv_contains recurses into nested arrays/objects with no depth limit. With a sufficiently nested input structure (built programmatically with reduce, since the JSON parser caps at depth 10000), the C stack is exhausted.
  • Impact: Attackers can cause jq to crash by exhausting the C stack, resulting in denial of service.
  • Remediation: Update to the latest version of jq.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.00161
  • Epss percentile: 0.05207
  • Assignee: [email protected]
  • Published at: 2026-05-11T18:16:33Z
  • Age in days: 197
  • Modified at: 2026-10-26T18:10:00Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40612
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-674Uncontrolled Recursion

Public exploits

UrlSourceAdded date
https://github.com/jqlang/jq/security/advisories/GHSA-r7m6-x9c7-h69jnvd2026-05-11

References

UrlSourceTags
https://github.com/jqlang/jq/security/advisories/GHSA-r7m6-x9c7-h69jnvdExploit, Mitigation, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
jqlang:jq<= 1.8.1nonvd/v1/products/jqlang/jq

Projects

RepositoryLink kindsIndexedUrl
jqlang/jqfix, security_advisoryyes/v1/repositories/jqlang/jq

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-05-11
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts