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

CVE-2025-5917

Libarchive: off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c

Publiée le 9 juin 2025 · modifiée le 25 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 27/100

Résumé

A vulnerability has been identified in the libarchive library. This flaw involves an 'off-by-one' miscalculation when handling prefixes and suffixes for file names. This can lead to a 1-byte write overflow. While seemingly small, such an overflow can corrupt adjacent memory, leading to unpredictable program behavior, crashes, or in specific circumstances, could be leveraged as a building block for more sophisticated exploitation. This bug affects libarchive versions prior to 3.8.0.

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

Produits et versions affectés

Redhat (13 ligne(s))
Redhat
ProduitVersionsCorrigé dansSource
Hat Enterprise Linux 10 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 6 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 7 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 8 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 9 Versions non précisées — CNA (éditeur ou attributeur)
Hat OpenShift AI (RHOAI) Versions non précisées — CNA (éditeur ou attributeur)
Hat OpenShift Container Platform 4 Versions non précisées — CNA (éditeur ou attributeur)
Enterprise linux 6.0 — NVD
Enterprise linux 7.0 — NVD
Enterprise linux 8.0 — NVD
Enterprise linux 9.0 — NVD
Enterprise linux 10.0 — NVD
Openshift container platform 4.0 — NVD
Libarchive (1 ligne(s))
Libarchive
ProduitVersionsCorrigé dansSource
Libarchive avant 3.8.0 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Contournementsource officielle

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Source : CNA (éditeur ou attributeur)

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-1385)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-787 · Corruption mémoire

Comment sont obtenues et calculées ces données