Bug 2578495

Summary: CVE-2026-115559 python3.16: python: Response injection in imaplib via unpurged buffer during STARTTLS [fedora-all]
Product: [Fedora] Fedora Reporter: Avinash Hanwate <ahanwate>
Component: python3.16Assignee: Python Maintainers <python-maint>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: ksurma, mhroncok, python-maint, python-packagers-sig
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["301c4592-d849-4a13-bf8e-662e12b37ae4"]}
Fixed In Version: python3.16-3.16.0~a2-1.fc46 python3.16-3.16.0~a2-1.fc45 python3.16-3.16.0~a2-1.fc44 python3.16-3.16.0~a2-1.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-22 01:03:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2570879    

Description Avinash Hanwate 2026-11-20 15:27:20 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

IMAP4.starttls() wraps the socket in TLS but leaves self._readbuf, imaplib's own read-ahead buffer, untouched. Any plaintext bytes that arrived in the same recv() as the tagged OK to STARTTLS are returned by readline() after the handshake, so the client treats them as the first responses on the protected channel. A network attacker who cannot break TLS can append forged lines after the server's OK, let the handshake complete with the real server and a valid certificate, and have the client accept the forged CAPABILITY and the forged tagged completion of the next command. This is the STARTTLS command/response injection class of CVE-2011-0411.

Comment 1 Fedora Update System 2026-11-21 12:48:58 UTC
FEDORA-2026-5ede9f8acd (python3.16-3.16.0~a2-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-5ede9f8acd

Comment 2 Fedora Update System 2026-11-21 12:49:03 UTC
FEDORA-2026-4376a059cd (python3.16-3.16.0~a2-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-4376a059cd

Comment 3 Fedora Update System 2026-11-21 12:49:08 UTC
FEDORA-2026-76598b6198 (python3.16-3.16.0~a2-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-76598b6198

Comment 4 Fedora Update System 2026-11-22 01:03:09 UTC
FEDORA-2026-76598b6198 (python3.16-3.16.0~a2-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2026-11-22 01:23:52 UTC
FEDORA-2026-4376a059cd (python3.16-3.16.0~a2-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-11-22 01:48:23 UTC
FEDORA-2026-5ede9f8acd (python3.16-3.16.0~a2-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.