International
The Morning Dev

Only the news worth knowing

‹
 
B43/100

Vulnerability · medium · CVSS 6.3

CPython imaplib STARTTLS plaintext buffering flaw (CVE-2026-115559)

Tier B · Patch this week – Put it in the sprint

Who’s exposed: Python applications using imaplib with STARTTLS

Tier B because: Core infrastructure or popular tool AND remote, no login

Reach

Attack

Damage

Fix

Popular tool · Remote, no login

The Brief

  • CPython's imaplib, when using STARTTLS, can serve plaintext bytes buffered before the TLS handshake as if they came over TLS.
  • The flaw was announced on the oss-security list on 2026-11-10 as CVE-2026-115559.

Why it matters

Code that relies on imaplib STARTTLS may treat data an attacker injected before the handshake as authenticated TLS data, so developers should review their IMAP connections and apply a fixed CPython release once one is available.

The checklist behind the tier

Checklist · 3 of 10 yes
YesHits tech teamsJudgment: CPython's imaplib is a standard library module developers build and run mail tooling with.
NoCore infrastructureJudgment: a single stdlib module in CPython is not foundational infrastructure like OpenSSH or glibc.
YesPopular toolJudgment: CPython is a mainstream developer platform, and the flaw is in its shipped stdlib.
NoExploited in the wildOpen Source Security: the advisory describes the flaw only; no observed attacks are reported.
NoPublic exploitOpen Source Security: only an advisory is cited; no exploit code or PoC is mentioned.
YesRemote, no loginCVSSCVE-2026-115559: CVSS 6.3 – network, no privileges, no user interaction
NoFull takeoverCVSSCVSS: no CVE has both high confidentiality and integrity impact
NoSecrets exposedOpen Source Security: no source reports credentials or data actually stolen or exposed.
NoSupply chainOpen Source Security: a normal bug in legitimate code; no malicious code shipped is reported.
NoNo fix yetOpen Source Security: the source does not say whether a patched version is available, so no is given.

The official record

From CVE.org, CISA’s Known Exploited Vulnerabilities catalog, FIRST EPSS and the GitHub Advisory Database. Where these answer a checklist fact, they win over the reporting.

  • CVE-2026-115559 ↗CVSS 6.3 medium AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

    imaplib STARTTLS serves plaintext bytes buffered before the handshake as if they came over TLS

    Exploited
    Not in CISA’s exploited catalog

    NVDGHSA-xmjp-7865-vg6q

Timeline

  1. Flaw disclosed on the oss-security mailing list

  2. Open Source Security

    CPython: [CVE-2026-115559] imaplib STARTTLS serves plaintext bytes buffered before the handshake as if they came over TLS

Source

CPython: [CVE-2026-115559] imaplib STARTTLS serves plaintext bytes buffered before the handshake as if they came over TLS ↗ Open Source Security · 1h ago

First seen · 1 source · Full story page · How tiers are decided