Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-11065
January 26, 2026
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.
Affected Packages
https://github.com/go-viper/mapstructure.git (GITHUB):
Affected version(s) >=v1.0.0 <v2.4.0
Fix Suggestion:
Update to version v2.4.0
github.com/go-viper/mapstructure (GO):
Affected version(s) >=v1.0.0 <v2.4.0
Fix Suggestion:
Update to version v2.4.0
github.com/go-viper/mapstructure/v2 (GO):
Affected version(s) >=v2.0.0-alpha.1 <v2.4.0
Fix Suggestion:
Update to version v2.4.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
6
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Generation of Error Message Containing Sensitive Information
Improper Output Neutralization for Logs
EPSS
Base Score:
0.01