BIT-python-min-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 before passing them to the poplib module.

Event History

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

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Applications using Python's poplib module are exposed when they pass user-controlled input as a POP3 command. Deployments that do not allow untrusted input to determine commands are not described as affected by this behavior.

2

What access does an attacker need?

The supplied vector indicates network reachability, low attack complexity, no user interaction, and high privileges required. It also indicates that an additional attack requirement is present, but the available data does not specify what that requirement is.

3

What can be done if the mitigation cannot be applied immediately?

Do not pass user-controlled values directly as POP3 commands. Validate or reject input containing control characters, including newlines, before it reaches poplib command handling.

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