Bug 2444691 (CVE-2026-2297) - CVE-2026-2297 cpython: CPython: Logging Bypass in Legacy .pyc File Handling
Summary: CVE-2026-2297 cpython: CPython: Logging Bypass in Legacy .pyc File Handling
Keywords:
Status: NEW
Alias: CVE-2026-2297
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2444699 2444701 2444703 2444709 2444710 2444700 2444702 2444704 2444705 2444706 2444707 2444708
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-03-04 23:01 UTC by OSIDB Bzimport
Modified: 2026-05-19 17:59 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:10950 0 None None None 2026-04-27 14:54:26 UTC
Red Hat Product Errata RHSA-2026:19019 0 None None None 2026-05-19 13:02:30 UTC
Red Hat Product Errata RHSA-2026:19064 0 None None None 2026-05-19 13:07:33 UTC
Red Hat Product Errata RHSA-2026:19176 0 None None None 2026-05-19 17:59:04 UTC
Red Hat Product Errata RHSA-2026:19177 0 None None None 2026-05-19 17:59:27 UTC

Description OSIDB Bzimport 2026-03-04 23:01:32 UTC
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.

Comment 6 errata-xmlrpc 2026-04-27 14:54:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:10950 https://access.redhat.com/errata/RHSA-2026:10950

Comment 7 errata-xmlrpc 2026-05-19 13:02:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:19019 https://access.redhat.com/errata/RHSA-2026:19019

Comment 8 errata-xmlrpc 2026-05-19 13:07:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:19064 https://access.redhat.com/errata/RHSA-2026:19064

Comment 9 errata-xmlrpc 2026-05-19 17:59:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:19176 https://access.redhat.com/errata/RHSA-2026:19176

Comment 10 errata-xmlrpc 2026-05-19 17:59:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:19177 https://access.redhat.com/errata/RHSA-2026:19177


Note You need to log in before you can comment on or make changes to this bug.