CVE-2025-12044: Github.com/hashicorp/vault Denial of Service Vulnerability
HIGHCVE-2025-12044 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Github.com/hashicorp/vault libraries in the Go ecosystem. The issue involves hashicorp vault and vault enterprise vulnerable to a denial of service when processing json. Remediation is available by upgrading affected packages to version 1.21.0.
CVE-2025-12044 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2025-12044
To remediate this vulnerability, upgrade all affected Github.com/hashicorp/vault dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/hashicorp/vault to 1.21.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/hashicorp/vault
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-12044, inspect your project dependencies for Github.com/hashicorp/vault:
inspect dependencies for github.com/hashicorp/vault
Analyze the terminal output to locate any version of Github.com/hashicorp/vault in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.21.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Github.com/hashicorp/vault, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-12044 Affected Github.com/hashicorp/vault Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/hashicorp/vault
|
Go |
≥ 1.20.3
< 1.21.0
|
1.21.0
|
References
Frequently Asked Questions
What is CVE-2025-12044?
Which Github.com/hashicorp/vault versions are affected?
What version fixes CVE-2025-12044?
Is github.com/hashicorp/vault affected?
What is the CVSS score of CVE-2025-12044?
What CWE is associated with CVE-2025-12044?
How can I check Go dependencies for CVE-2025-12044?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vp5w-xcfc-73wf",
"modified" : "2025-10-23T22:21:45Z",
"published" : "2025-10-23T21:31:44Z",
"aliases" : [ "CVE-2025-12044" ],
"summary" : "Hashicorp Vault and Vault Enterprise vulnerable to a denial of service when processing JSON",
"details" : "Vault and Vault Enterprise (\"Vault\") are vulnerable to an unauthenticated denial of service when processing JSON payloads. This occurs due to a regression from a previous fix for [+HCSEC-2025-24+|https://discuss.hashicorp.com/t/hcsec-2025-24-vault-denial-of-service-though-complex-json-payloads/76393] which allowed for processing JSON payloads before applying rate limits. This vulnerability, CVE-2025-12044, is fixed in Vault Community Edition 1.21.0 and Vault Enterprise 1.16.27, 1.19.11, 1.20.5, and 1.21.0.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/hashicorp/vault"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.20.3"
}, {
"fixed" : "1.21.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-12044"
}, {
"type" : "WEB",
"url" : "https://github.com/hashicorp/vault/commit/b19e74c29a33ed2a99fc01626104db1a49345df3"
}, {
"type" : "WEB",
"url" : "https://github.com/hashicorp/vault/commit/eedc2b7426f30e57e306229ce697ce81e203ab89"
}, {
"type" : "WEB",
"url" : "https://discuss.hashicorp.com/t/hcsec-2025-31-vault-vulnerable-to-denial-of-service-due-to-rate-limit-regression/76710"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hashicorp/vault"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-23T22:21:45Z",
"nvd_published_at" : "2025-10-23T20:15:37Z"
}
}