CVE-2026-2297 Affecting python-3.14 package, versions <3.14.3-r3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (2nd 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-WOLFILATEST-PYTHON314-15746320
  • published22 Mar 2026
  • disclosed4 Mar 2026

Introduced: 4 Mar 2026

CVE-2026-2297  (opens in a new tab)

How to fix?

Upgrade Wolfi python-3.14 to version 3.14.3-r3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-3.14 package and not the python-3.14 package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for this audit event therefore do not fire.

CVSS Base Scores

version 3.1