Unchecked Return Value Affecting python3.12-debugsource package, versions <0:3.12.15-2.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.61% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-PYTHON312DEBUGSOURCE-21700898
  • published25 Oct 2026
  • disclosed11 Sept 2026

Introduced: 11 Sep 2026

CVE-2026-87910  (opens in a new tab)
CWE-252  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3.12-debugsource to version 0:3.12.15-2.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-3230.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.12-debugsource package and not the python3.12-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1