Bug 2570879 (CVE-2026-115559) - CVE-2026-115559 python: python: Response injection in imaplib via unpurged buffer during STARTTLS
Summary: CVE-2026-115559 python: python: Response injection in imaplib via unpurged bu...
Keywords:
Status: NEW
Alias: CVE-2026-115559
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:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-10 20:28 UTC by OSIDB Bzimport
Modified: 2026-11-11 00:10 UTC (History)
22 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-10 20:28:22 UTC
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.


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