ADVISORIES

Vulnerability

CVE-2025-11065

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.

221 advisories report this vulnerability, across 11 ecosystems.

Advisories in Go

  • GHSA-2464-8j7c-4cjm

    go-viper's mapstructure May Leak Sensitive Information in Logs When Processing Malformed Data

    Moderate CVE-2025-11065 Go Updated 10 September 2026
  • GO-2025-3900

    Go-viper's mapstructure May Leak Sensitive Information in Logs in github.com/go-viper/mapstructure

    CVE-2025-11065 Go Updated 7 August 2026

References