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.
| Version | Base score | Base severity | Vector |
|---|---|---|---|
| 3.1 | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
| CAPEC ID | Description |
|---|
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Event | Date |
|---|---|
| Reported to Red Hat. | 2025-08-29 17:01:44 |
| Made public. | 2025-08-29 14:52:35 |
| Hyperlink | Resource |
|---|---|
| https://access.redhat.com/security/cve/CVE-2025-11065 | vdb-entry x_refsource_REDHAT |
| https://bugzilla.redhat.com/show_bug.cgi?id=2391829 | issue-tracking x_refsource_REDHAT |
| https://github.com/go-viper/mapstructure/commit/742921c9ba2854d27baa64272487fc5075d2c39c | N/A |
| https://github.com/go-viper/mapstructure/security/advisories/GHSA-2464-8j7c-4cjm | N/A |
| Version | Base score | Base severity | Vector |
|---|
| CAPEC ID | Description |
|---|
| Event | Date |
|---|
| Hyperlink | Resource |
|---|---|
| https://github.com/go-viper/mapstructure/security/advisories/GHSA-2464-8j7c-4cjm | exploit |