CVE-2025-11065Github.com/go-viper/mapstructure/v2: go-viper's mapstructure may leak sensitive information in logs in github.com/go-viper/mapstructure
- 5.3MediumCVSS base score
- 0.52%Exploitation in 30 daysEPSS · top 55% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
Description
A flaw was found in github.com/go-viper/mapstructure/v2, in the field processing component using mapstructure.WeakDecode. This vulnerability allows information disclosure through detailed error messages that may leak sensitive input values via malformed user-supplied data processed in security-critical contexts.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
Timeline
ID reserved
By redhat
- 4 months later
· 4 months later
Published
- 9 months later
· 9 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVDNVD · Deferred | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.52% · top 55% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
github.com/go-viper/mapstructure/v2
- affected < 2.4.0
All versions: affected
Red Hat · Red Hat Advanced Cluster Management for Kubernetes 2
All versions: affected
Red Hat · Red Hat Advanced Cluster Management for Kubernetes 2
All versions: affected
Red Hat · Red Hat Advanced Cluster Security 4
All versions: affected
Red Hat · Red Hat Advanced Cluster Security 4
All versions: affected
Red Hat · Red Hat Advanced Cluster Security 4
All versions: affected
Red Hat · Red Hat Advanced Cluster Security 4
All versions: affected
Red Hat · Red Hat Advanced Cluster Security 4
All versions: affected
Red Hat · Red Hat Advanced Cluster Security 4
All versions: affected
Red Hat · Red Hat Certification for Red Hat Enterprise Linux 8
All versions: affected
Red Hat · Red Hat Certification Program for Red Hat Enterprise Linux 9
All versions: affected
Red Hat · Red Hat Enterprise Linux 10
All versions: affected
Red Hat · Red Hat Enterprise Linux 10
All versions: affected
Red Hat · Red Hat Enterprise Linux 10
All versions: affected
Red Hat · Red Hat Enterprise Linux 9
All versions: affected
Red Hat · Red Hat Enterprise Linux 9
All versions: affected
Red Hat · Red Hat Enterprise Linux 9
All versions: affected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: affected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: affected
Red Hat · Red Hat OpenShift Container Platform 4
All versions: unknown
Red Hat · Red Hat OpenShift Container Platform 4
All versions: affected
Red Hat · Red Hat OpenShift Container Platform 4
All versions: affected
Red Hat · Red Hat OpenShift Container Platform 4
All versions: affected
Red Hat · Red Hat OpenShift Container Platform 4
All versions: affected
Red Hat · Red Hat OpenShift Dev Spaces
All versions: affected
Red Hat · Red Hat OpenShift Dev Spaces
All versions: unaffected
Red Hat · Red Hat OpenShift Dev Spaces
All versions: unaffected
Red Hat · Red Hat OpenShift distributed tracing 3
All versions: affected
Red Hat · Red Hat OpenShift GitOps
All versions: affected
Red Hat · Red Hat OpenShift GitOps
All versions: affected
Red Hat · Red Hat Trusted Application Pipeline
All versions: affected
Red Hat · Red Hat Trusted Artifact Signer
All versions: affected
Red Hat · Red Hat Trusted Artifact Signer
All versions: affected
Red Hat · Red Hat Trusted Artifact Signer
All versions: affected
Red Hat · Red Hat Trusted Artifact Signer
All versions: affected
Red Hat · Red Hat Trusted Artifact Signer
All versions: affected
Red Hat · Red Hat Trusted Artifact Signer
All versions: affected
Red Hat · Red Hat Trusted Artifact Signer
All versions: affected
Red Hat · Zero Trust Workload Identity Manager - Tech Preview
All versions: affected
Red Hat · Zero Trust Workload Identity Manager - Tech Preview
All versions: affected
Red Hat · Zero Trust Workload Identity Manager - Tech Preview
All versions: affected
Red Hat · Zero Trust Workload Identity Manager - Tech Preview
All versions: affected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/go-viper/mapstructure/v2GHSA-2464-8j7c-4cjm (opens in a new tab)
What to do
Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References
References4
- https://access.redhat.com/security/cve/CVE-2025-11065 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2391829 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://github.com/go-viper/mapstructure/commit/742921c9ba2854d27baa64272487fc5075d2c39c (opens in a new tab)
- https://github.com/go-viper/mapstructure/security/advisories/GHSA-2464-8j7c-4cjm (opens in a new tab)exploit
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-29426 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-2464-8j7c-4cjm (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-11065)Record last updated .