{"id":"UBUNTU-CVE-2025-11065","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.","modified":"2026-05-20T16:10:07.168031266Z","published":"2026-01-26T20:16:00Z","upstream":["CVE-2025-11065"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-11065"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-11065"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2391829"},{"type":"REPORT","url":"https://github.com/go-viper/mapstructure/security/advisories/GHSA-2464-8j7c-4cjm"},{"type":"REPORT","url":"https://github.com/go-viper/mapstructure/commit/742921c9ba2854d27baa64272487fc5075d2c39c"}],"affected":[{"package":{"name":"golang-github-go-viper-mapstructure","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-github-go-viper-mapstructure?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-go-viper-mapstructure-dev","binary_version":"2.2.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11065.json"}},{"package":{"name":"golang-github-go-viper-mapstructure","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-go-viper-mapstructure?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1-1","2.2.1-2","2.4.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-go-viper-mapstructure-dev","binary_version":"2.4.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11065.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}