CVE-2026-115559
Published:November 10, 2026
Updated:November 13, 2026
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.
Affected Packages
https://github.com/python/cpython.git (GITHUB):
Affected version(s) =v3.16.0a1 <v3.16.0a2Fix Suggestion:
Update to version v3.16.0a2pythonx86 (NUGET):
Affected version(s) =3.16.0-a1 <3.16.0-a2Fix Suggestion:
Update to version 3.16.0-a2python (NUGET):
Affected version(s) =3.16.0-a1 <3.16.0-a2Fix Suggestion:
Update to version 3.16.0-a2pythonarm64 (NUGET):
Affected version(s) =3.16.0-a1 <3.16.0-a2Fix Suggestion:
Update to version 3.16.0-a2Related ResourcesĀ (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
EPSS
Base Score:
0.29