Skip to content

gh-160369: Reject buffered plaintext after IMAP STARTTLS - #160370

Open
JelleZijlstra wants to merge 3 commits into
python:mainfrom
JelleZijlstra:codex/imap-starttls
Open

JelleZijlstra wants to merge 3 commits into
python:mainfrom
JelleZijlstra:codex/imap-starttls

Conversation

@JelleZijlstra

@JelleZijlstra JelleZijlstra commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Reject unexpected plaintext buffered after the STARTTLS response before upgrading the connection, so it cannot be interpreted as TLS-protected server responses. Add regression coverage and a Security NEWS entry.

Closes #160369.

@bedevere-app bedevere-app Bot mentioned this pull request Oct 22, 2026
@JelleZijlstra JelleZijlstra added the type-security A security issue label Oct 22, 2026 — with ChatGPT Codex Connector
@JelleZijlstra
JelleZijlstra marked this pull request as ready for review October 22, 2026 22:01
@JelleZijlstra
JelleZijlstra requested a review from a team as a code owner October 22, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pending bug

1 participant