{"id":"CVE-2026-115559","aliases":[],"cve":{"records":[{"id":"CVE-2026-115559","source":"PSF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-22T22:10:39.804Z","published":"2026-11-10T18:39:57.050Z","modified":"2026-11-16T18:28:16.858Z"}],"publishers":[{"name":"PSF","role":"CNA","organizationId":"28c92f92-d60d-412d-b760-e73465c3df22","modified":"2026-11-10T18:39:57.050Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-16T18:28:16.858Z"}],"references":[{"url":"https://github.com/python/cpython/pull/160370","tags":["patch"],"source":"PSF"},{"url":"https://github.com/python/cpython/issues/160369","tags":["issue-tracking"],"source":"PSF"},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/LVAGFOFG26QVXEM6VXXPRMMOZBHM4CVB/","tags":["vendor-advisory"],"source":"PSF"}],"weaknesses":[{"id":"CWE-319","description":"CWE-319 Cleartext Transmission of Sensitive Information","source":"CISA-ADP"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-16T18:27:30.749874Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"imaplib STARTTLS serves plaintext bytes buffered before the handshake as if they came over TLS","titleSource":"PSF","descriptionSource":"PSF","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.","score":6.3,"severity":"medium","published":"2026-11-10T18:39:57.050Z","modified":"2026-11-16T18:28:16.858Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Python Software Foundation","name":"CPython","platforms":[],"versions":[{"version":"0","status":"affected","lessThan":"3.16.0","versionType":"python"}],"defaultStatus":"unaffected","cpes":[],"source":"PSF","url":"https://www.cve.org/CVERecord?id=CVE-2026-115559"}],"remediation":[],"references":["https://github.com/python/cpython/pull/160370","https://github.com/python/cpython/issues/160369","https://mail.python.org/archives/list/security-announce@python.org/thread/LVAGFOFG26QVXEM6VXXPRMMOZBHM4CVB/"],"sources":[{"name":"CVE","id":"CVE-2026-115559","modified":"2026-11-16T18:28:16.858Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-115559"}],"assessments":[{"source":"PSF","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.3}],"sourceAffected":[],"observedAt":"2026-11-16T18:42:08.511Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T20:15:31.904Z"},"coverage":[{"source":"NVD","status":"no-result","checkedAt":"2026-11-10T19:15:47.279Z","attemptedAt":"2026-11-10T19:15:47.279Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-10T19:15:35.854Z","attemptedAt":"2026-11-10T19:15:35.854Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-10T19:15:34.635Z","attemptedAt":"2026-11-10T19:15:34.635Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-10T19:15:35.766Z","attemptedAt":"2026-11-10T19:15:35.766Z"}],"evidence":[],"aiSummary":{"text":"Python's imaplib is affected in versions before 3.16.0, where an attacker with network access can inject forged commands after a STARTTLS handshake, potentially altering the client's perception of server responses. The vulnerability arises from plaintext bytes being treated as encrypted data. A network attacker can exploit this weakness.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-16T19:01:11.832Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-115559"}]}}