CVE-2025-11065: Generation of Error Message Containing Sensitive Information
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.
AI Analysis
Technical Summary
This vulnerability in mapstructure.WeakDecode of the go-viper mapstructure/v2 library allows information disclosure through error messages that may leak sensitive data. The flaw arises when malformed user input is processed, causing error messages to reveal sensitive input values. The CVSS 3.1 vector indicates network attack vector, high attack complexity, no privileges required, user interaction required, unchanged scope, and high confidentiality impact without integrity or availability impact. The vendor advisory from Red Hat does not explicitly state patch availability or remediation details.
Potential Impact
An attacker who can supply malformed input to the vulnerable component may receive error messages containing sensitive information. This could lead to unintended disclosure of confidential data processed by the application using this library. There is no indication of integrity or availability impact. The vulnerability requires user interaction and has a high confidentiality impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2025-11065 for current remediation guidance. Until a fix is available, avoid processing untrusted input with the vulnerable mapstructure.WeakDecode function in security-critical contexts or implement additional input validation and error handling to prevent sensitive data leakage in error messages.
CVE-2025-11065: Generation of Error Message Containing Sensitive Information
Description
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.
CVSS v3.1
Score 5.3medium
Affected software
pkg:golang/github.com/go-viper/mapstructure/v2Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in mapstructure.WeakDecode of the go-viper mapstructure/v2 library allows information disclosure through error messages that may leak sensitive data. The flaw arises when malformed user input is processed, causing error messages to reveal sensitive input values. The CVSS 3.1 vector indicates network attack vector, high attack complexity, no privileges required, user interaction required, unchanged scope, and high confidentiality impact without integrity or availability impact. The vendor advisory from Red Hat does not explicitly state patch availability or remediation details.
Potential Impact
An attacker who can supply malformed input to the vulnerable component may receive error messages containing sensitive information. This could lead to unintended disclosure of confidential data processed by the application using this library. There is no indication of integrity or availability impact. The vulnerability requires user interaction and has a high confidentiality impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2025-11065 for current remediation guidance. Until a fix is available, avoid processing untrusted input with the vulnerable mapstructure.WeakDecode function in security-critical contexts or implement additional input validation and error handling to prevent sensitive data leakage in error messages.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2025-09-26T12:01:08.227Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2025-11065","vendor":"Red Hat"}]
Threat ID: 6977c5a14623b1157cb6ff7c
Added to database: 01/26/2026, 19:50:57 UTC
Last enriched: 07/02/2026, 22:15:10 UTC
Last updated: 09/10/2026, 19:36:49 UTC
Views: 171
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.