CVE-2026-87910 tarfile hardlink fallback ignores custom extraction filter rejection via None
MediumCVSS 5.7
EPSS 0.61%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
When 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.
Upgrade path
25 packages: 12 fixed, 1 partially fixed, 12 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/pypy3(Debian 13) | = 7.3.19+dfsg-2; = 7.3.20+dfsg-1; = 7.3.20+dfsg-2; = 7.3.20+dfsg-3 +11 more | No fix listed | No fix yet |
| debian/python3.13(Debian 13) | = 3.13.5-2; = 3.13.5-2+deb13u1; = 3.13.5-2+deb13u2; = 3.13.5-2+deb13u3 +12 more | No fix listed | No fix yet |
| ubuntu/pypy3(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/pypy3(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/pypy3(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/pypy3(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/python2.7(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/python3.10(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/python3.11(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/python3.12(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/python3.14(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/python3.14(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux python3(Azure Linux 3.0) | < 3.12.15-1; All versions | 3.12.15-1 | Partially fixed |
| alpine/python3(Alpine v3.21) | < 3.12.15-r0 | 3.12.15-r0 | Fixed |
| alpine/python3(Alpine v3.22) | < 3.12.15-r0 | 3.12.15-r0 | Fixed |
| alpine/python3(Alpine v3.23) | < 3.12.15-r0 | 3.12.15-r0 | Fixed |
| debian/pypy3(Debian 14) | < 8.0.1+dfsg-1; = 7.3.19+dfsg-2; = 7.3.20+dfsg-1; = 7.3.20+dfsg-2 +10 more | 8.0.1+dfsg-1 | Fixed |
| debian/python3.14(Debian 14) | < 3.14.9-1; = 3.14.0-1; = 3.14.0-2; = 3.14.0-3 +27 more | 3.14.9-1 | Fixed |
| debian/python3.15(Debian 14) | < 3.15.0~rc3-1; = 3.15.0~a8-1; = 3.15.0~a8-2; = 3.15.0~b1-1 +9 more | 3.15.0~rc3-1 | Fixed |
| Python Software Foundation CPython | < 3.10.22; >= 3.11.0, < 3.11.17; >= 3.12.0, < 3.12.15; >= 3.13.0, < 3.13.16 +2 more | 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.9, 3.15.0rc3 | Fixed |
| redhat/python3-10-main(Red Hat hummingbird 1) | < 3.10.21-1.2.hum1 | 3.10.21-1.2.hum1 | Fixed |
| redhat/python3-11-main(Red Hat hummingbird 1) | < 3.11.16-1.3.hum1 | 3.11.16-1.3.hum1 | Fixed |
| redhat/python3-12-main(Red Hat hummingbird 1) | < 3.12.14-1.2.hum1 | 3.12.14-1.2.hum1 | Fixed |
| redhat/python3-13-main(Red Hat hummingbird 1) | < 3.13.15-1.2.hum1 | 3.13.15-1.2.hum1 | Fixed |
| redhat/python3-14-main(Red Hat hummingbird 1) | < 3.14.7-1.2.hum1 | 3.14.7-1.2.hum1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Python Software Foundation CPython | < 3.10.22 | 3.10.22 |
| Python Software Foundation CPython | >= 3.11.0, < 3.11.17 | 3.11.17 |
| Python Software Foundation CPython | >= 3.12.0, < 3.12.15 | 3.12.15 |
| Python Software Foundation CPython | >= 3.13.0, < 3.13.16 | 3.13.16 |
| Python Software Foundation CPython | >= 3.14.0, < 3.14.9 | 3.14.9 |
| Python Software Foundation CPython | >= 3.15.0a1, < 3.15.0rc3 | 3.15.0rc3 |
| redhat/python3-14-main(Red Hat:hummingbird:1) | < 3.14.7-1.2.hum1 | 3.14.7-1.2.hum1 |
| redhat/python3-10-main(Red Hat:hummingbird:1) | < 3.10.21-1.2.hum1 | 3.10.21-1.2.hum1 |
| redhat/python3-11-main(Red Hat:hummingbird:1) | < 3.11.16-1.3.hum1 | 3.11.16-1.3.hum1 |
| redhat/python3-13-main(Red Hat:hummingbird:1) | < 3.13.15-1.2.hum1 | 3.13.15-1.2.hum1 |
| redhat/python3-12-main(Red Hat:hummingbird:1) | < 3.12.14-1.2.hum1 | 3.12.14-1.2.hum1 |
| debian/pypy3(Debian:13) | All versions | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.19+dfsg-2 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.20+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.20+dfsg-2 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.20+dfsg-3 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.20+dfsg-4 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.21+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.21+dfsg-2 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.21+dfsg-3 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.21+dfsg-4 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.22+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.23+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.23+dfsg-2 | No fix listed |
| debian/pypy3(Debian:13) | = 8.0.0+dfsg-1 | No fix listed |
Show 90 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/pypy3(Debian:13) | = 8.0.1+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | < 8.0.1+dfsg-1 | 8.0.1+dfsg-1 |
| debian/pypy3(Debian:14) | = 7.3.19+dfsg-2 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.20+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.20+dfsg-2 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.20+dfsg-3 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.20+dfsg-4 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.21+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.21+dfsg-2 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.21+dfsg-3 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.21+dfsg-4 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.22+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.23+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.23+dfsg-2 | No fix listed |
| debian/pypy3(Debian:14) | = 8.0.0+dfsg-1 | No fix listed |
| debian/python3.13(Debian:13) | All versions | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.11-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.12-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.14-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.15-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.18-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u2 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u3 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u4 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u5 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.6-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.7-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.8-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.9-1 | No fix listed |
| debian/python3.14(Debian:14) | < 3.14.9-1 | 3.14.9-1 |
| debian/python3.14(Debian:14) | = 3.14.0-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-2 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-3 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-4 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-5 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~a7-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b1-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b3-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b4-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc1-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc3-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-2 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-3 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-4 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-5 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.4-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.4-2 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.5-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.5~rc1-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.6-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.7-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.7-2 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.7-3 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.7-4 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.7-5 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.8-1 | No fix listed |
| debian/python3.15(Debian:14) | < 3.15.0~rc3-1 | 3.15.0~rc3-1 |
| debian/python3.15(Debian:14) | = 3.15.0~a8-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~a8-2 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b1-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b1-2 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b1-3 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b2-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b3-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b4-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~rc1-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~rc2-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~rc2-2 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~rc2-3 | No fix listed |
| ubuntu/pypy3(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python3.10(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python2.7(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python3.11(Ubuntu:22.04) | All versions | No fix listed |
| alpine/python3(Alpine:v3.21) | < 3.12.15-r0 | 3.12.15-r0 |
| alpine/python3(Alpine:v3.22) | < 3.12.15-r0 | 3.12.15-r0 |
| alpine/python3(Alpine:v3.23) | < 3.12.15-r0 | 3.12.15-r0 |
| ubuntu/pypy3(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/python3.12(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/pypy3(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/python3.14(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/pypy3(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/python3.14(Ubuntu:26.10) | All versions | No fix listed |
| azure linux python3(Azure Linux:3.0) | All versions | No fix listed |
| azure linux python3(Azure Linux:3.0) | < 3.12.15-1 | 3.12.15-1 |
References
- MSRC Security Update Guide vendor-advisory
- Security Update patch vendor-advisory
- mail.python.org vendor-advisory
- github.com patch
- github.com issue-tracking
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- www.openwall.com
- Red Hat CVE page vendor-advisory
- RHSA-2026:67572 patch vendor-advisory
- RHSA-2026:67574 patch vendor-advisory
- RHSA-2026:67575 patch vendor-advisory
- RHSA-2026:67606 patch vendor-advisory
- RHSA-2026:67607 patch vendor-advisory
- Red Hat Bugzilla 2531985 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-87910 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- security.alpinelinux.org vendor-advisory
- ENISA EUVD EUVD-2026-76162 third-party-advisory