cve.bz

CVE-2025-11065

5.3 mediumEPSS 0.4%

Medium (5.3). EPSS 0.4% chance of exploitation in the next 30 days. Fixed in github.com/go-viper/mapstructure/v2 2.4.0.

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.4% chance of exploitation in the next 30 days; higher than 37% of CVEs (scores of 2026-11-01)
CWE
CWE-209
Published
Modified
Record from
the NVD, synced

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

References

Check your stackJSON