cve.bz

CVE-2025-11065 Github.com/go-viper/mapstructure/v2: go-viper's mapstructure may leak sensitive information in logs in github.com/go-viper/mapstructure

5.3 mediumEPSS 0.5%Fix available

Medium (5.3) in red hat. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/go-viper/mapstructure/v2 2.4.0.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-02-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-209 Generation of Error Message Containing Sensitive Information
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-11065 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-11065?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-11065?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-11065 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
github.com/go-viper/mapstructure/v2before 2.4.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2464-8j7c-4cjmGogithub.com/go-viper/mapstructure/v2<2.4.02.4.0
GO-2025-3900Gogithub.com/go-viper/mapstructureall versionsno fix published
GO-2025-3900Gogithub.com/go-viper/mapstructure/v2<2.4.02.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13golang-github-go-viper-mapstructureno fix listedDEBIAN-CVE-2025-11065
Debian14golang-github-go-viper-mapstructure2.4.0-1DEBIAN-CVE-2025-11065
Ubuntu25.10, 26.04:LTS, 26.10golang-github-go-viper-mapstructureno fix listedUBUNTU-CVE-2025-11065
SUSELinux Enterprise Module for Basesystem 15 SP7alloy1.11.3-150700.15.9.1SUSE-SU-2025:4121-1
SUSELinux Enterprise Module for Basesystem 15 SP7cosign3.0.5-150400.3.35.1SUSE-SU-2026:0777-1
SUSELinux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Package Hub 15 SP7grafana11.5.10-150200.3.80.1SUSE-SU-2025:4482-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0alloy1.11.3-160000.1.1SUSE-SU-2025:21137-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0cosign3.0.5-160000.1.1SUSE-SU-2026:20904-1
SUSEManager Client Tools 12golang-github-prometheus-alertmanager0.28.1-1.34.1SUSE-SU-2025:4457-1
SUSEManager Client Tools 12grafana11.5.10-1.87.1SUSE-SU-2025:4457-1
SUSEManager Client Tools 12mgr-push5.0.3-1.30.3SUSE-SU-2025:4457-1
SUSEManager Client Tools 12rhnlib5.0.6-21.55.1SUSE-SU-2025:4457-1
SUSEManager Client Tools 12spacecmd5.0.14-38.162.1SUSE-SU-2025:4457-1
SUSEManager Client Tools 12supportutils-plugin-susemanager-client5.0.5-6.36.1SUSE-SU-2025:4457-1
SUSEManager Client Tools 12uyuni-tools0.1.37-1.27.1SUSE-SU-2025:4457-1
14 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6cosign3.0.5-150400.3.35.1SUSE-SU-2026:0777-1
openSUSELeap 15.6dracut-saltboot1.0.0-150000.1.62.1SUSE-SU-2025:4458-1
openSUSELeap 15.6grafana11.5.10-150200.3.80.1SUSE-SU-2025:4482-1
openSUSELeap 15.6spacecmd5.0.14-150000.3.139.1SUSE-SU-2025:4458-1
openSUSELeap 15.6supportutils-plugin-susemanager-client5.0.5-150000.3.30.1SUSE-SU-2025:4458-1
openSUSELeap 16.0alloy1.11.3-160000.1.1openSUSE-SU-2025:20073-1
openSUSELeap 16.0cosign3.0.5-160000.1.1openSUSE-SU-2026:20386-1
openSUSETumbleweedalloy1.11.2-2.1openSUSE-SU-2025:15631-1
openSUSETumbleweedcosign3.0.4-2.1openSUSE-SU-2026:10232-1
openSUSETumbleweedgrafana11.6.6-1.1openSUSE-SU-2025:15610-1
openSUSETumbleweedtrivy0.67.2-1.1openSUSE-SU-2025:15724-1
Azure Linux2buildahno fix listedAZL-75351
Azure Linux2cert-manager1.11.2-27AZL-75425
Azure Linux2cri-o1.22.3-20AZL-75458
Azure Linux2influxdb2.6.1-30AZL-75479
Azure Linux2keda2.4.0-32AZL-75488
Azure Linux2kube-vip-cloud-provider0.0.2-26AZL-75491
Azure Linux2kubevirt0.59.0-38AZL-75497
Azure Linux2kured1.14.2-7AZL-75500
Azure Linux2moby-buildx0.7.1-28AZL-75524
Azure Linux2moby-cli24.0.9-8AZL-75527
Azure Linux2moby-compose2.17.3-14AZL-75530
Azure Linux2opa0.63.0-6AZL-75545
29 more for Azure Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
OpenShift Pipelinesopenshift-pipelines-clientWill not fix
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-grafana-rhel9Fix deferred
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/submariner-rhel9-operatorFix deferred
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-central-db-rhel8Fix deferred
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-main-rhel8Fix deferred
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-rhel8-operatorFix deferred
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-roxctl-rhel8Fix deferred
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-scanner-v4-db-rhel8Fix deferred
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-scanner-v4-rhel8Fix deferred
Red Hat Certification for Red Hat Enterprise Linux 8redhat-certification-preflightFix deferred
Red Hat Certification Program for Red Hat Enterprise Linux 9redhat-certification-preflightFix deferred
Red Hat Enterprise Linux 10gvisor-tap-vsockFix deferred
Red Hat Enterprise Linux 10opentelemetry-collectorFix deferred
Red Hat Enterprise Linux 10toolboxFix deferred
Red Hat Enterprise Linux 9gvisor-tap-vsockFix deferred
Red Hat Enterprise Linux 9opentelemetry-collectorFix deferred
Red Hat Enterprise Linux 9toolboxFix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-model-registry-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-rhel9-operatorFix deferred
Red Hat OpenShift Container Platform 4microshiftOut of support scope
22 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-11065.

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-54 Query System for Information Likelihood: High · Severity: Low
  • CAPEC-215 Fuzzing for application mapping Likelihood: High · Severity: Low
  • CAPEC-463 Padding Oracle Crypto Attack Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON