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 medium EPSS 0.52%

Published 26 Jan 2026 Updated 24 Nov 2026 CNA: redhat

Check your servers for CVE-2025-11065

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-11065 affects gvisor-tap-vsock, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

5.3 medium CVSS 3.1 from redhat (CNA)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.52%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 37.6% of all scored CVEs. Scores of 29 Nov 2026.

The assessment of CISA (SSVC, 3 Feb 2026):

Exploitation
poc: a proof of concept is public
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-209 Generation of Error Message Containing Sensitive Information

Affected products

As the CNA lists them.

ProductVersions
github.com/go-viper/mapstructure/v2
package github.com/go-viper/mapstructure/v2
affected before 2.4.0
Other versions: unaffected
OpenShift Pipelines
package openshift-pipelines-client
affected the record does not list versions
Red Hat Advanced Cluster Management for Kubernetes 2
package rhacm2/acm-grafana-rhel9
affected the record does not list versions
Red Hat Advanced Cluster Management for Kubernetes 2
package rhacm2/submariner-rhel9-operator
affected the record does not list versions
Red Hat Advanced Cluster Security 4
package advanced-cluster-security/rhacs-central-db-rhel8
affected the record does not list versions
Red Hat Advanced Cluster Security 4
package advanced-cluster-security/rhacs-main-rhel8
affected the record does not list versions
Red Hat Advanced Cluster Security 4
package advanced-cluster-security/rhacs-rhel8-operator
affected the record does not list versions
Red Hat Advanced Cluster Security 4
package advanced-cluster-security/rhacs-roxctl-rhel8
affected the record does not list versions
Red Hat Advanced Cluster Security 4
package advanced-cluster-security/rhacs-scanner-v4-db-rhel8
affected the record does not list versions
Red Hat Advanced Cluster Security 4
package advanced-cluster-security/rhacs-scanner-v4-rhel8
affected the record does not list versions
Red Hat Certification for Red Hat Enterprise Linux 8
package redhat-certification-preflight
affected the record does not list versions
Red Hat Certification Program for Red Hat Enterprise Linux 9
package redhat-certification-preflight
affected the record does not list versions
Red Hat Enterprise Linux 10
package gvisor-tap-vsock
affected the record does not list versions
Red Hat Enterprise Linux 10
package opentelemetry-collector
affected the record does not list versions
Red Hat Enterprise Linux 10
package toolbox
affected the record does not list versions
Red Hat Enterprise Linux 9
package gvisor-tap-vsock
affected the record does not list versions
Red Hat Enterprise Linux 9
package opentelemetry-collector
affected the record does not list versions
Red Hat Enterprise Linux 9
package toolbox
affected the record does not list versions
Red Hat OpenShift AI (RHOAI)
package rhoai/odh-model-registry-rhel9
affected the record does not list versions
Red Hat OpenShift AI (RHOAI)
package rhoai/odh-rhel9-operator
affected the record does not list versions
Red Hat OpenShift Container Platform 4
package microshift
unknown the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift
affected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift4/ose-helm-operator
affected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift4/ose-helm-rhel9-operator
affected the record does not list versions
Red Hat OpenShift Container Platform 4
package podman
affected the record does not list versions
Red Hat OpenShift Dev Spaces
package devspaces/traefik-rhel9
affected the record does not list versions
Red Hat OpenShift Dev Spaces
package devspaces/udi-base-rhel9
unaffected the record does not list versions
Red Hat OpenShift Dev Spaces
package devspaces/udi-rhel9
unaffected the record does not list versions
Red Hat OpenShift distributed tracing 3
package rhosdt/opentelemetry-collector-rhel8
affected the record does not list versions
Red Hat OpenShift GitOps
package openshift-gitops-1/argocd-rhel8
affected the record does not list versions
Red Hat OpenShift GitOps
package openshift-gitops-1/argocd-rhel9
affected the record does not list versions
Red Hat Trusted Application Pipeline
package rhtap-task-runner/rhtap-task-runner-rhel9
affected the record does not list versions
Red Hat Trusted Artifact Signer
package rhtas/cosign-rhel9
affected the record does not list versions
Red Hat Trusted Artifact Signer
package rhtas/fulcio-rhel9
affected the record does not list versions
Red Hat Trusted Artifact Signer
package rhtas/gitsign-rhel9
affected the record does not list versions
Red Hat Trusted Artifact Signer
package rhtas/rekor-backfill-redis-rhel9
affected the record does not list versions
Red Hat Trusted Artifact Signer
package rhtas/rekor-cli-rhel9
affected the record does not list versions
Red Hat Trusted Artifact Signer
package rhtas/rekor-server-rhel9
affected the record does not list versions
Red Hat Trusted Artifact Signer
package rhtas/timestamp-authority-rhel9
affected the record does not list versions
Zero Trust Workload Identity Manager - Tech Preview
package zero-trust-workload-identity-manager/spiffe-spire-agent-rhel9
affected the record does not list versions
Zero Trust Workload Identity Manager - Tech Preview
package zero-trust-workload-identity-manager/spiffe-spire-oidc-discovery-provider-rhel9
affected the record does not list versions
Zero Trust Workload Identity Manager - Tech Preview
package zero-trust-workload-identity-manager/spiffe-spire-server-rhel9
affected the record does not list versions
Zero Trust Workload Identity Manager - Tech Preview
package zero-trust-workload-identity-manager/zero-trust-workload-identity-manager-rhel9
affected the record does not list versions

Is my server affected?

Find the installed version of gvisor-tap-vsock and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i gvisor-tap-vsock
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-11065 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-11065

RHEL, Rocky, Alma, Fedora

rpm -q gvisor-tap-vsock
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-11065

Alpine

apk list --installed | grep -i gvisor-tap-vsock

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-11065
trivy image --scanners vuln IMAGE | grep CVE-2025-11065

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Exploits and proof of concept

Other references

Source: the record CVE-2025-11065 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.