The stunnel program is designed to work as an SSL encryption wrapper between a client and a local or remote server.
A buffer overflow vulnerability has been discovered in stunnel. Please review the CVE identifier referenced below for details.
A remote attacker could entice a user to connect to a malicious proxy server, resulting in the execution of arbitrary code within the configured chroot directory, with the privileges of the user running stunnel. Please review the references below for details.
There is no known workaround at this time.
All stunnel users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/stunnel-4.56-r1"