In Dovecot before 2.3.10.1, a crafted SMTP/LMTP message triggers an unauthenticated use-after-free bug in submission-login, submission, or lmtp, and can lead to a crash under circumstances involving many newlines after a command.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Dovecot | Dovecot | * | 2.3.10.1 (excluding) |
Red Hat Enterprise Linux 8 | RedHat | dovecot-1:2.3.8-4.el8 | * |
Dovecot | Ubuntu | devel | * |
Dovecot | Ubuntu | eoan | * |
Dovecot | Ubuntu | esm-infra/focal | * |
Dovecot | Ubuntu | focal | * |
Dovecot | Ubuntu | trusty | * |