1. Accueil
  2. Vulnérabilités
  3. CVE-2025-61731

CVE-2025-61731

Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial…

Publiée le 28 janv. 2026 · modifiée le 10 sept. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 43/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Golang (2 ligne(s))
Golang
ProduitVersionsCorrigé dansSource
Go avant 1.24.12 (exclu) — NVD
Go de 1.25.0 (inclus) à 1.25.6 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1366)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
  4. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)
  5. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1576)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:134c704f-9b21-4f2e-91b3-4a467353bcc0)
Faiblesse
NVD-CWE-noinfo · Non classé

Comment sont obtenues et calculées ces données