CVE-2026-115559
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.
Weakness
- CWE-319: Cleartext Transmission of Sensitive Information
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-16 |
Timeline
- 2026-11-10Published by the CNA18:39 UTC
- 2026-11-10Published in NVD19:19 UTC · 39 minutes after the CNA
- 2026-11-16CISA SSVC decision recorded6 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| python_software_foundation cpython | from 0 before 3.16.0fixed in 3.16.0 | 3.16.0 |
References
- https://github.com/python/cpython/pull/160370
- https://mail.python.org/archives/list/security-announce@python.org/thread/LVAGFOFG26QVXEM6VXXPRMMOZBHM4CVB/
- https://github.com/python/cpython/issues/160369
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-115559'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-115559'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-115559'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-115559'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).