CVE-2025-11065

Source
https://cve.org/CVERecord?id=CVE-2025-11065
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-11065.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-11065
Aliases
Downstream
Related
Published
2026-01-26T19:36:28.900Z
Modified
2026-05-18T05:59:08.389583501Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
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.

Database specific
{
    "cna_assigner": "redhat",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/11xxx/CVE-2025-11065.json",
    "cwe_ids": [
        "CWE-209"
    ]
}
References

Affected packages

Git / github.com/go-viper/mapstructure

Affected ranges

Type
GIT
Repo
https://github.com/go-viper/mapstructure
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*
v1.0.0
v1.1.0
v1.1.1
v1.1.2
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.3.0
v1.3.1
v1.3.2
v1.3.3
v1.4.0
v1.4.1
v1.4.2
v1.4.3
v1.5.0
v1.6.0
v2.*
v2.0.0
v2.0.0-alpha.1
v2.1.0
v2.2.0
v2.2.1
v2.3.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-11065.json"