BIT-python-2025-15367: POP3 command injection in user-controlled commands

Published Jan 20, 2026
·
Updated

The poplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.

Affected Software

1 affected component
Python Software Foundation Python poplib

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Reject user-controlled POP3 commands containing newlines or other control characters to prevent additional commands from being injected.

Event History

Jan 20, 2026
CVE Published
via OSV·09:47 PM
Data Sourced
via OSV·09:47 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required for exploitation?

An application must pass attacker-controlled input as a POP3 command through the poplib module. The attacker needs a way to include newline or other control characters in that command input so that additional POP3 commands can be injected.

2

Who is most likely exposed?

Applications that use Python poplib and construct or forward POP3 commands from untrusted input are exposed. The provided data does not establish that applications using only fixed, application-defined commands are affected.

3

What mitigation is identified?

Reject user-controlled commands containing control characters. This prevents newline-based injection of additional POP3 commands.

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