CVE-2026-115559
Public on 2026-11-10
Modified on 2026-11-17
Description
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.
Severity
See what this means
CVSS v3 Base Score
See breakdown
Affected Packages
| Platform | Package | Release Date | Advisory | Status |
|---|---|---|---|---|
| Amazon Linux 2 - Core | python | Not Affected | ||
| Amazon Linux 2 - Core | python3 | Not Affected | ||
| Amazon Linux 2023 | python3.11 | Not Affected | ||
| Amazon Linux 2023 | python3.12 | Not Affected | ||
| Amazon Linux 2023 | python3.13 | Not Affected | ||
| Amazon Linux 2023 | python3.14 | Pending Fix | ||
| Amazon Linux 2027 Preview | python3.14 | Pending Fix | ||
| Amazon Linux 2023 | python3.15 | Pending Fix | ||
| Amazon Linux 2027 Preview | python3.15 | Pending Fix | ||
| Amazon Linux 2023 | python3.9 | Not Affected |
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |