CVE-2026-87910

NameCVE-2026-87910
DescriptionWhen tarfile extracts a link on a system that doesn't support links, it falls back to extracting a member from the archive. In this case, the filter function is run twice: once for the extracted member, and once with name set to the location of the link. For one of the calls, the return value was ignored. Instead, the member should be skipped if either call returns None.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pypy3 (PTS)bookworm7.3.11+dfsg-2+deb12u3fixed
trixie7.3.19+dfsg-2vulnerable
forky, sid8.0.0+dfsg-1vulnerable
python3.11 (PTS)bookworm3.11.2-6+deb12u8fixed
bookworm (security)3.11.2-6+deb12u3fixed
python3.13 (PTS)trixie3.13.5-2+deb13u5vulnerable
forky, sid3.13.15-1vulnerable
python3.14 (PTS)forky3.14.7-4vulnerable
sid3.14.8-1vulnerable
python3.15 (PTS)forky, sid3.15.0~rc2-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pypy3sourcebookworm(not affected)
pypy3source(unstable)(unfixed)
python3.11source(unstable)(not affected)
python3.13source(unstable)(unfixed)
python3.14source(unstable)(unfixed)
python3.15source(unstable)(unfixed)

Notes

[trixie] - python3.13 <no-dsa> (Minor issue)
- python3.11 <not-affected> (extraction filters (PEP 706) absent in 3.11.2)
[trixie] - pypy3 <no-dsa> (Minor issue)
[bookworm] - pypy3 <not-affected> (extraction filters (PEP 706) absent in stdlib 3.9.16)
https://mail.python.org/archives/list/security-announce@python.org/thread/57TBTLL2W6APMZR3A25B2YV7GL3EPTDJ/
https://github.com/python/cpython/issues/157265
https://github.com/python/cpython/pull/157266
https://github.com/python/cpython/commit/fb2f0bbc3b35264f09cc2cb2934b7987527a6bc2 (main)
Same code situation as with CVE-2025-4435.

Search for package or bug name: Reporting problems