CVE-2025-11374: GO-2025-4081 - Consul key/value endpoint is vulnerable to denial of service in github.com/hashicorp/consul

CVE-2025-11374 · Severity: medium · CVSS 6.5 · Published 2025-10-28

Consul and Consul Enterprise’s (“Consul”) key/value endpoint is vulnerable to denial of service (DoS) due to incorrect Content Length header validation. This vulnerability, CVE-2025-11374, is fixed in Consul Community Edition 1.22.0 and Consul Enterprise 1.22.0, 1.21.6, 1.20.8 and 1.18.12.

Technologies: github.com/hashicorp/consul (Go), HashiCorp Consul. Vendors: Go, HashiCorp.

Quick answers

Is CVE-2025-11374 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-11374 being exploited in the wild.
How severe is CVE-2025-11374?
Medium severity, with a CVSS score of 6.5, published 28 October 2025.
Which products and versions are affected?
github.com/hashicorp/consul (Go) SEMVER:introduced=0,fixed=1.22.0.
Is there a fix for CVE-2025-11374?
Yes. github.com/hashicorp/consul (Go): upgrade to 1.22.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-11374?
Check whether you run github.com/hashicorp/consul (Go) or HashiCorp Consul at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/hashicorp/consul (Go): upgrade to 1.22.0 or later
    go get github.com/hashicorp/consul@v1.22.0

Affected products

  • github.com/hashicorp/consul (Go) SEMVER:introduced=0,fixed=1.22.0
  • HashiCorp Consul

Identifiers

  • CVE-2025-11374
  • GHSA-7g3r-8c6v-hfmr
  • GO-2025-4081

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.