CVE-2026-2297 Affecting python3.12-test package, versions <0:3.12.13-2.el8_10


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.02% (5th 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-ROCKY8-PYTHON312TEST-16330524
  • published1 May 2026
  • disclosed4 Mar 2026

Introduced: 4 Mar 2026

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

How to fix?

Upgrade Rocky-Linux:8 python3.12-test to version 0:3.12.13-2.el8_10 or higher.
This issue was patched in RLSA-2026:10950.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.12-test package and not the python3.12-test package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 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