Improper input validation allows for header injection in MIME4J library when using MIME4J DOM for composing message. This can be exploited by an attacker to add unintended headers to MIME messages.
https://lists.apache.org/thread/nrqzg93219wdj056pqfszsd33dc54kfy