Skip to main content
EPSS 0.4%top 70%

CVE-2025-11065: Generation of Error Message Containing Sensitive Information

0
Medium
VulnerabilityCVE-2025-11065cvecve-2025-11065
Published: 01/26/2026 (01/26/2026, 19:36:28 UTC)
Source: CVE Database V5

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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected software

github.com/go-viper/mapstructure/v2
pkg:golang/github.com/go-viper/mapstructure/v2
Affected versions
=0

Run 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

AILast updated: 07/02/2026, 22:15:10 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses