Skip to main content
VulnerabilityPublished Updated

CVE-2025-11065: Golang github go viper mapstructure: A flaw was found in github.com/go-viper/mapstructure/v2, in the

Affects golang-github-go-viper-mapstructureSource GCVE Database

0
Compare
Authoritative record:CVE-2025-11065· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.15.3
EPSS
0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10golang-github-go-viper-mapstructurepkg:deb/ubuntu/golang-github-go-viper-mapstructure?arch=source&distro=stonkingOther threatsAffected
  • =2.4.0-1
  • =2.5.0-2
Fixed in–
Ubuntu 26.04 LTSgolang-github-go-viper-mapstructurepkg:deb/ubuntu/golang-github-go-viper-mapstructure?arch=source&distro=resoluteOther threatsAffected
  • =2.2.1-1
  • =2.2.1-2
  • =2.4.0-1
Fixed in–
Ubuntu 25.10golang-github-go-viper-mapstructurepkg:deb/ubuntu/golang-github-go-viper-mapstructure?arch=source&distro=questingOther threatsAffected
  • =2.2.1-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…