CVE-2025-68119

Aliases:GO-2026-4338BIT-golang-2025-68119
Analyzed
Published: 28 Jan 2026, 19:30
Last modified:26 Feb 2026, 15:04

Vulnerability Summary

Overall Risk (default)
medium
28/100
CVSS Score
7 HIGH
v3.1 (cve.org)
EPSS Score
0.02% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

28 Jan 2026, 19:30
Published
Vulnerability first disclosed
26 Feb 2026, 15:04
Last Modified
Vulnerability information updated

Description

Downloading and building modules with malicious version strings can cause local code execution. On systems with Mercurial (hg) installed, downloading modules from non-standard sources (e.g., custom domains) can cause unexpected code execution due to how external VCS commands are constructed. This issue can also be triggered by providing a malicious version string to the toolchain. On systems with Git installed, downloading and building modules with malicious version strings can allow an attacker to write to arbitrary files on the filesystem. This can only be triggered by explicitly providing the malicious version strings to the toolchain and does not affect usage of @latest or bare module paths.

CVSS Metrics

  • v3.1HIGHScore: 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 0.02% Percentile: 5%

Techniques & Countermeasures

  • CWE-787Out-of-bounds Write

    The product writes data past the end, or before the beginning, of the intended buffer.

Affected Systems

  • go toolchaincmd/go

    ≥ 1.25.0, < 1.25.6

  • golanggo

    < 1.24.12 | ≥ 1.25.0, < 1.25.6

  • Gotoolchain

    ≥ 1.25.0, < 1.25.6

References (4)