BIT-python-2026-115559

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/python/BIT-python-2026-115559.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-python-2026-115559
Aliases
Published
2026-11-27T05:53:29Z
Modified
2026-11-27T06:56:26Z
Summary
imaplib STARTTLS serves plaintext bytes buffered before the handshake as if they came over TLS
Details

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.

Database specific
{
    "cpes":  [
        "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*"
    ],
    "severity":  "Medium"
}
References

Affected packages

Bitnami / python

Package

Name
python
Purl
pkg:bitnami/python

Severity

  • 6.3 (Medium) CVSS_V4 - 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.16.0

Database specific

source
"https://github.com/bitnami/vulndb/tree/main/data/python/BIT-python-2026-115559.json"