Vulnerability Database · Go · github.com/go-viper/mapstructure/v2 · Version

github.com/go-viper/mapstructure/v2 v2.5.0

v2.5.0 is affected by 3 vulnerabilities.

The vulnerabilities that cover this exact version are listed below with the fixed version to move to. The upgrade Vulert recommends: v2.5.0.

Critical 0 High 0 Medium 3 Low 0 Unrated 0

Released 12 Jan 2026 Status latest release Licence MIT Also known from other sources 0 Newer releases 43 Database updated 23/Oct/2026

Release and licence data published by the Go module proxy. Licence information is not legal advice.

Concerned about your application's security?

Vulert continues monitoring your dependencies and alerts you when new vulnerabilities are disclosed. No installation and no source-code access required.

01 Vulnerabilities affecting this version

github.com/go-viper/mapstructure/v2 v2.5.0 vulnerabilities

3 vulnerabilities cover github.com/go-viper/mapstructure/v2 v2.5.0. Open the full list in the database.

Vulnerability Severity Fixed version Disclosed
Sensitive Information Leak in go-viper's mapstructure - GHSA-86rf-68f4-2cph 5.3 medium 2.4.0 26 Jan 2026
Sensitive Information Leak in go-viper's mapstructure Package 5.3 medium 2.4.0 21 Aug 2025
Sensitive Information Leak in Mapstructure Package: GHSA-fv92-fjc5-jj9h 5.3 medium 2.3.0 27 Jun 2025

Looking for another version, or everything Vulert holds for github.com/go-viper/mapstructure/v2?

All versions → Full vulnerability list →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →

Questions

About github.com/go-viper/mapstructure/v2 v2.5.0

Is github.com/go-viper/mapstructure/v2 v2.5.0 vulnerable?

Yes. 3 vulnerabilities in the Vulert database cover github.com/go-viper/mapstructure/v2 v2.5.0: 0 critical, 0 high, 3 medium and 0 low. The upgrade Vulert recommends is v2.5.0, and each entry above names the fixed version to move to.

Which version of github.com/go-viper/mapstructure/v2 should I use instead of v2.5.0?

v2.5.0 is the version Vulert recommends for this release line, which is also the release the publisher currently ships. The version table on the package page lists every release with the vulnerabilities recorded against it.

Is v2.5.0 the latest release of github.com/go-viper/mapstructure/v2?

Yes. v2.5.0 is the current release, published 12 Jan 2026. Staying on the current line is what keeps you inside the publisher's fixes.

How do I monitor github.com/go-viper/mapstructure/v2 for upcoming vulnerabilities?

Upload the manifest or SBOM for your application at vulert.com/scanner and Vulert keeps checking the github.com/go-viper/mapstructure/v2 version you actually run against new disclosures, then alerts you when one affects it. There is no installation and no source-code access required.