Skip to content
Heist/ feed
Back to feed
High

golang-1.19, golang-1.24 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2025-68119

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.

Products
golang-1.19, golang-1.24
Affected versions
1.19.10-1, 1.19.10-2, 1.19.11-1, 1.19.12-1, 1.19.12-2, 1.19.12-2~bpo11+1, 1.19.12-2~bpo12+1, 1.19.13-1, 1.19.13-1~bpo11+1, 1.19.13-1~bpo12+1, 1.19.8-2, 1.19.9-1, 1.24.12-1, 1.24.13-1, 1.24.13-2, 1.24.4-1, 1.24.4-2, 1.24.4-3, 1.24.4-4, 1.24.7-1, 1.24.8-1, 1.24.9-1
Fixed versions
Not specified
CVEs
CVE-2025-68119
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 06:32 UTC · Revision 1

Source evidence

DEBIAN-CVE-2025-68119

core-osv · Original source

Published 28 Jan 2026, 20:16 UTC

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.

osv:DEBIAN-CVE-2025-68119

golang-1.19

Fixed versions: Not specified

golang-1.24

Fixed versions: Not specified

Complete source record
{
  "id": "5f056101635f0ea1d92b87547099b5808778fee65f889e42eba2f166a20be2d9",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-68119",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2025-68119",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2025-68119",
    "products": [
      {
        "name": {
          "value": "golang-1.19",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.19.10-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.19.10-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.19.11-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.19.12-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.19.12-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.19.12-2~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.19.12-2~bpo12+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.19.13-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.19.13-1~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.19.13-1~bpo12+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.19.8-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.19.9-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-1.24",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.24.12-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.24.13-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.24.13-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.24.4-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.24.4-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.24.4-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.24.4-4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.24.7-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.24.8-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.24.9-1",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2025-68119",
      "aliases": [
        "DEBIAN-CVE-2025-68119"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-1.19",
            "purl": "pkg:deb/debian/golang-1.19?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "1.19.10-1",
            "1.19.10-2",
            "1.19.11-1",
            "1.19.12-1",
            "1.19.12-2",
            "1.19.12-2~bpo11+1",
            "1.19.12-2~bpo12+1",
            "1.19.13-1",
            "1.19.13-1~bpo11+1",
            "1.19.13-1~bpo12+1",
            "1.19.8-2",
            "1.19.9-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-68119.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-1.24",
            "purl": "pkg:deb/debian/golang-1.24?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "1.24.12-1",
            "1.24.13-1",
            "1.24.13-2",
            "1.24.4-1",
            "1.24.4-2",
            "1.24.4-3",
            "1.24.4-4",
            "1.24.7-1",
            "1.24.8-1",
            "1.24.9-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-68119.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-12T11:00:06.630471180Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-68119"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2025-68119"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-68119",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 299740,
  "published_at": "2026-01-28T20:16:11.443+00:00"
}