ADVISORIES

Vulnerability

CVE-2026-115559

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.

25 advisories report this vulnerability, across 8 ecosystems.

Advisories in Azure Linux

  • AZL-113323

    CVE-2026-115559 affecting package python-py 1.11.0-1

    CVE-2026-115559 Azure Linux Updated 16 November 2026
  • AZL-113329

    CVE-2026-115559 affecting package python3 3.12.16-2

    CVE-2026-115559 Azure Linux Updated 16 November 2026

References