{"schema_version":"1.9.0","id":"CVE-2025-11065","published":"2026-01-26T19:36:28.900Z","modified":"2026-08-12T03:51:09.514398709Z","aliases":["GHSA-2464-8j7c-4cjm","GO-2025-3900"],"related":["CGA-4v52-6cgq-vcv9","SUSE-SU-2025:21137-1","SUSE-SU-2025:4121-1","SUSE-SU-2025:4444-1","SUSE-SU-2025:4446-1","SUSE-SU-2025:4457-1","SUSE-SU-2025:4458-1","SUSE-SU-2025:4479-1","SUSE-SU-2025:4482-1","SUSE-SU-2026:0777-1","SUSE-SU-2026:20904-1","openSUSE-SU-2025:15610-1","openSUSE-SU-2025:15631-1","openSUSE-SU-2025:15724-1","openSUSE-SU-2025:20073-1","openSUSE-SU-2026:10232-1","openSUSE-SU-2026:20386-1","openSUSE-SU-2026:20654-1","openSUSE-SU-2026:20798-1"],"summary":"Github.com/go-viper/mapstructure/v2: go-viper's mapstructure may leak sensitive information in logs in github.com/go-viper/mapstructure","details":"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":[{"ranges":[{"type":"GIT","repo":"https://github.com/go-viper/mapstructure","events":[{"introduced":"0"},{"fixed":"742921c9ba2854d27baa64272487fc5075d2c39c"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.4.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v2.3.0","v2.2.1","v2.2.0","v2.1.0","v2.0.0","v2.0.0-alpha.1","v1.6.0","v1.5.0","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.2","v1.1.1","v1.1.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-11065.json"}}],"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://github.com/go-viper/mapstructure/"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-11065"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/11xxx/CVE-2025-11065.json"},{"type":"ADVISORY","url":"https://github.com/go-viper/mapstructure/security/advisories/GHSA-2464-8j7c-4cjm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-11065"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2391829"},{"type":"FIX","url":"https://github.com/go-viper/mapstructure/commit/742921c9ba2854d27baa64272487fc5075d2c39c"}],"database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-209"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/11xxx/CVE-2025-11065.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"}]}