Skip to content

Conversation

@frenzymadness
Copy link
Member

No description provided.

@frenzymadness frenzymadness requested a review from hroncok January 30, 2026 13:57
@hroncok
Copy link
Member

hroncok commented Feb 2, 2026

First of all, I have manually verified that this successfully fixes CVE-2026-0865 and CVE-2026-1299.

Copy link
Member

@hroncok hroncok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feedback about the commits.

  • Correct: The backports seem correct to me.
  • Must: Attribute the author of python@45b2f88 in the patch that added this as Co-authored-by.
  • Optional but recommended: Mention which commits were cherry-picked in all commit messages.

gpshead and others added 4 commits February 2, 2026 12:08
pythongh-143916: Reject control characters in wsgiref.headers.Headers  (pythonGH-143917)

* Add 'test.support' fixture for C0 control characters
* pythongh-143916: Reject control characters in wsgiref.headers.Headers

(cherry picked from commit 2f84024)

Co-authored-by: Seth Michael Larson <seth@python.org>
pythongh-143921: Reject control characters in IMAP commands

(cherry-picked from commit 6262704)
pythongh-143923: Reject control characters in POP3 commands

(cherry-picked from commit b234a2b)
pythongh-144125: email: verify headers are sound in BytesGenerator

(cherry picked from commit 8cdf620)

Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Denis Ledoux <dle@odoo.com>
Co-authored-by: Denis Ledoux <5822488+beledouxdenis@users.noreply.github.com>
Co-authored-by: Petr Viktorin <302922+encukou@users.noreply.github.com>
Co-authored-by: Bas Bloemsaat <1586868+basbloemsaat@users.noreply.github.com>

The fix for the CVE uncovered a known issue in handling
policy.linesep lengths fixed by:

bpo-34424: Handle different policy.linesep lengths correctly. (python#8803)

(cherry-picked from commit 45b2f88)

Co-authored-by: Jens Troeger <jenstroeger@users.noreply.github.com>
Copy link
Member

@hroncok hroncok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants