github.com/opentofu/opentofu · OpenTofu Affected Denials of Service
Affects github.com/opentofu/opentofuSource GCVE Database
Mentioned vulnerabilities
CVSS 3.1 Low : upgrade to 1.10.7 when convenient.
Data as of 4 Nov 2026, 18:28 UTC
- Patch
- Available – fixed in 1.10.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:LWhat to do
Upgrade github.com/opentofu/opentofu to 1.10.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/opentofu/opentofu | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in OpenTofu version 1.10.7, which is built against Go 1.24.9 containing the necessary upstream patches. Users of OpenTofu 1.10.7 or later are protected. For users of versions 1.9 and 1.8, no upstream fix is available due to compatibility issues; these users should plan to upgrade to 1.10.7. Meanwhile, risk can be minimized by carefully reviewing and verifying new dependencies before adding them to configurations and running 'tofu init', for example by manually fetching artifacts outside of OpenTofu. Avoid installing dependencies from untrusted or attacker-controlled sources.
Description
OpenTofu versions prior to 1.10.7 are vulnerable to denial of service during the 'tofu init' process when installing module packages from attacker-controlled sources. Maliciously crafted TLS certificate chains or tar archives can cause unbounded memory usage, high CPU consumption, or crashes. These issues do not allow code execution or data disclosure but can disrupt the installation process and degrade system performance. The vulnerabilities stem from underlying Go standard library components used by OpenTofu. OpenTofu 1.10.7 includes fixes by upgrading to Go 1.24.9. Versions 1.9 and 1.8 remain vulnerable with no upstream fix available. Operators are advised to upgrade or carefully review dependencies before installation.
References
- github.com/opentofu/opentofu/security/advisories/GHSA-w2jf-268q-mrvh (opens in a new tab)
- github.com/opentofu/opentofu/issues/3458 (opens in a new tab)
- github.com/opentofu/opentofu/issues/3462 (opens in a new tab)
- github.com/opentofu/opentofu/issues/3464 (opens in a new tab)
- github.com/opentofu/opentofu/issues/3465 (opens in a new tab)
- github.com/opentofu/opentofu/pull/3467 (opens in a new tab)
- github.com/opentofu/opentofu (opens in a new tab)
- github.com/opentofu/opentofu/releases/tag/v1.10.7 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-58183 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-58185 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-58187 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-58188 (opens in a new tab)