Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-8869

published medium CVSS 4.0 · 5.9

Fallback tar extraction in pip doesn't check symbolic links point to extraction directory

Published
24 Sep 2025, 14:56:56 UTC
Updated
03 Nov 2025, 17:45:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Python Packaging Authority — pip0 to < 25.3 · Other versions: unaffected Affected Not stated PSF
Amazon Linux AL2 Release evaluationALAS2-2025-3023 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1211 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1216 Fixed Not stated Amazon Linux assessment
Debian bullseye python-pip Advisory build 20.3.4-4+deb11u2 DLA-4348-1
Amazon Linux AL2 python-pipnoarch Listed in advisory Not stated ALAS2-2025-3023
Amazon Linux AL2 python-pipsrc Listed in advisory Not stated ALAS2-2025-3023
Show 4 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 python-pipnoarch Listed in advisory Not stated ALAS2023-2025-1216
Amazon Linux AL2023 python-pipsrc Listed in advisory Not stated ALAS2023-2025-1216
Amazon Linux AL2023 python3.11-pipnoarch Listed in advisory Not stated ALAS2023-2025-1211
Amazon Linux AL2023 python3.11-pipsrc Listed in advisory Not stated ALAS2023-2025-1211

Description

When extracting a tar archive pip may not check symbolic links point into the extraction directory if the tarfile module doesn't implement PEP 706. Note that upgrading pip to a "fixed" version for this vulnerability doesn't fix all known vulnerabilities that are remediated by using a Python version that implements PEP 706. Note that this is a vulnerability in pip's fallback implementation of tar extraction for Python versions that don't implement PEP 706 and therefore are not secure to all vulnerabilities in the Python 'tarfile' module. If you're using a Python version that implements PEP 706 then pip doesn't use the "vulnerable" fallback code. Mitigations include upgrading to a version of pip that includes the fix, upgrading to a Python version that implements PEP 706 (Python >=3.9.17, >=3.10.12, >=3.11.4, or >=3.12), applying the linked patch, or inspecting source distributions (sdists) before installation as is already a best-practice.

en · PSF · cna

Vendor advisories explicitly linked to this CVE.

4

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.9 / 10
Severity
medium
Provider
PSF · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Python Packaging Authority pip 0 to < 25.3 (affected · python)Default: unaffected PSF · cna

Weaknesses

1
  • CWE-noinfo Not enough information (CISA-ADP · adp)

References

3

Provider assertions

3

PSF · cna

Fallback tar extraction in pip doesn't check symbolic links point to extraction directory

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
7bb2cd74abf530c93e212998afb4abe8521dcbbe52d0cc9accc5607bae0761fc
Ingested
23 Sep 2026, 08:59:12 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected