VDB

DEBIAN-CVE-2025-61731

DEBIAN-CVE-2025-61731 PUBLISHED CVSS 7.800000190734863 HIGH

Record from OSV · Published January 28, 2026

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.

Risk scores

CVSS 3.1
7.800000190734863
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
Debian:12golang-1.190, 1.19.10-1, 1.19.10-2
Debian:13golang-1.240, 1.24.12-1, 1.24.13-1

Timeline

  • Jan 28, 2026 CVE Published
  • Oct 12, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln DEBIAN-CVE-2025-61731
vulnetix vdb fixes DEBIAN-CVE-2025-61731

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2025-61731/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›