REDHAT-BUG-2432437: Medium severity Python Python email (email.BytesGenerator) vulnerability

Published Jan 23, 2026
·
Updated

The email module, specifically the "BytesGenerator" class, didn’t properly quote newlines for email headers when serializing an email message allowing for header injection when an email is serialized. This is only applicable if using "LiteralHeader" writing headers that don't respect email folding rules, the new behavior will reject the incorrectly folded headers in "BytesGenerator".

Affected Software

1 affected component
Python Python email (email.BytesGenerator)

Event History

Jan 23, 2026
Data Sourced
via Red Hat·05:03 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2432437?

The severity of REDHAT-BUG-2432437 is categorized as a moderate risk due to potential header injection vulnerabilities.

2

How do I fix REDHAT-BUG-2432437?

To fix REDHAT-BUG-2432437, update to the patched version of Python that resolves the header quoting issue in the "BytesGenerator" class.

3

What is the impact of REDHAT-BUG-2432437?

The impact of REDHAT-BUG-2432437 allows for header injection in serialized email messages, potentially leading to email spoofing.

4

Which versions of Python are affected by REDHAT-BUG-2432437?

The affected versions of Python are those that utilize the email module's BytesGenerator without proper newline quoting.

5

Is REDHAT-BUG-2432437 a widespread vulnerability?

Yes, REDHAT-BUG-2432437 is considered widespread as it affects common email functionalities across various Python applications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203