CVE-2025-5917
JSON

2.8low

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

Severity
2.8low CVSS:3.1 by redhat
Exploit likelihood
0.32% (higher than 27% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

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.

Affected

Product or packageVersionsReported by
libarchivebefore 3.8.0CVE List
rhoai/odh-ai-gateway-operator-rhel9Not specifiedCVE List
rhoai/odh-core-bff-rhel9Not specifiedCVE List
rhoai/odh-dashboard-operator-rhel9Not specifiedCVE List
rhoai/odh-dashboard-rhel9Not specifiedCVE List
rhoai/odh-data-science-pipelines-operator-controller-rhel9Not specifiedCVE List
rhoai/odh-kf-notebook-controller-rhel9Not specifiedCVE List
rhoai/odh-kserve-controller-rhel9Not specifiedCVE List
rhoai/odh-kserve-llmisvc-controller-rhel9Not specifiedCVE List
rhoai/odh-kserve-module-operator-rhel9Not specifiedCVE List
rhoai/odh-kuberay-operator-controller-rhel9Not specifiedCVE List
rhoai/odh-kube-rbac-proxy-rhel9Not specifiedCVE List

All scores

redhat2.8low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
NVD5.0medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se ha identificado una vulnerabilidad en la librería libarchive. Esta falla implica un error de cálculo de un byte al gestionar prefijos y sufijos de nombres de archivo. Esto puede provocar un desbordamiento de escritura de 1 byte. Aunque aparentemente leve, este desbordamiento puede corromper la memoria adyacente, provocando un comportamiento impredecible del programa, bloqueos o, en circunstancias específicas, podría utilizarse como base para una explotación más sofisticada.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-5917 changed 2026-11-25CVE Terms of Use
NVDCVE-2025-5917 changed 2026-11-25Public domain