ADVISORIES

Vulnerability

CVE-2025-61731

Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "#cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config command. An attacker can provide a "--log-file" argument to this directive, causing pkg-config to write to an attacker-controlled location.

3232 advisories report this vulnerability, across 15 ecosystems.

Advisories in openSUSE

  • SUSE-SU-2026:0218-1

    Security update for go1.25

    CVE-2025-61726CVE-2025-61728CVE-2025-61730CVE-2025-61731 SUSEopenSUSE Updated 23 March 2026
  • SUSE-SU-2026:0219-1

    Security update for go1.24

    CVE-2025-61726CVE-2025-61728CVE-2025-61730CVE-2025-61731 SUSEopenSUSE Updated 23 March 2026
  • SUSE-SU-2026:0298-1

    Security update for go1.25-openssl

    CVE-2025-4674CVE-2025-47906CVE-2025-47907CVE-2025-47910 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2026:0308-1

    Security update for go1.24-openssl

    CVE-2025-47912CVE-2025-58183CVE-2025-58185CVE-2025-58186 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2026:0354-1

    Security update for govulncheck-vulndb

    CVE-2025-61726CVE-2025-61728CVE-2025-61730CVE-2025-61731 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:10063-1

    go1.24-1.24.12-1.1 on GA media

    CVE-2025-61726CVE-2025-61728CVE-2025-61730CVE-2025-61731 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:10064-1

    go1.25-1.25.6-1.1 on GA media

    CVE-2025-61726CVE-2025-61728CVE-2025-61730CVE-2025-61731 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:20077-1

    Security update for go1.24

    CVE-2025-61726CVE-2025-61728CVE-2025-61730CVE-2025-61731 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:20085-1

    Security update for go1.25

    CVE-2025-61726CVE-2025-61728CVE-2025-61730CVE-2025-61731 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:20301-1

    Security update for go1.25-openssl

    CVE-2025-47912CVE-2025-58183CVE-2025-58185CVE-2025-58186 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:20308-1

    Security update for go1.24-openssl

    CVE-2025-47912CVE-2025-58183CVE-2025-58185CVE-2025-58186 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:20619-1

    Security update for coredns

    CVE-2025-61726CVE-2025-61728CVE-2025-61731CVE-2025-68119 openSUSE Updated 25 April 2026
  • openSUSE-SU-2026:21483-1

    Security update for govulncheck-vulndb

    Known exploited CVE-2016-11063CVE-2016-11066CVE-2016-11067CVE-2016-11068 openSUSE Updated 31 July 2026

References