Security mailing lists by PureSourceCode

CVE-2025-5917

MEDIUM 5.0CVSS 3.1

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

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.

Published
9 Jun 2025
Last modified
25 Nov 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-787
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
NVD secalert@redhat.com (Secondary) CVSS 3.1 LOW 2.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
CVE List redhat CVSS 3.1 LOW 2.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD libarchive libarchive
cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*
< 3.8.0 3.8.0
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
= 4.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
= 6.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
= 10.0
CVE List https://github.com/libarchive/libarchive/ libarchive < 3.8.0 3.8.0
CVE List https://access.redhat.com/downloads/content/package-browser/ libarchive
cpe:/o:redhat:enterprise_linux:10
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ libarchive
cpe:/o:redhat:rhel_els:6
CVE List https://access.redhat.com/downloads/content/package-browser/ libarchive
cpe:/o:redhat:rhel_els:7
CVE List https://access.redhat.com/downloads/content/package-browser/ libarchive
cpe:/o:redhat:enterprise_linux:8
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ libarchive
cpe:/o:redhat:enterprise_linux:9
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-ai-gateway-operator-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-core-bff-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-dashboard-operator-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-dashboard-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-data-science-pipelines-operator-controller-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-kf-notebook-controller-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-kserve-controller-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-kserve-llmisvc-controller-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-kserve-module-operator-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-kuberay-operator-controller-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-kube-rbac-proxy-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-llama-stack-k8s-operator-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-maas-controller-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-mlflow-operator-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-mlflow-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-mod-arch-agent-ops-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-mod-arch-automl-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-mod-arch-autorag-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-mod-arch-eval-hub-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-mod-arch-gen-ai-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-mod-arch-maas-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-mod-arch-mlflow-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-mod-arch-model-registry-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-model-controller-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-model-registry-operator-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-model-serving-api-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-notebook-controller-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-ogx-k8s-operator-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-ogx-module-operator-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-training-operator-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-trustyai-service-operator-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ rhoai/odh-workbenches-operator-rhel9
cpe:/a:redhat:openshift_ai
CVE List https://access.redhat.com/downloads/content/package-browser/ openshift/ose-rhel-coreos-8
cpe:/a:redhat:openshift:4
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ openshift/ose-rhel-coreos-9
cpe:/a:redhat:openshift:4
all versions

References

History

  • 25 Nov 2026 20:55 UTC · CVE List: first stored (published 9 Jun 2025)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 9 Jun 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.