Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.Referenceshttps://github.com/smarty-php/smarty/blob/master/CHANGELOG.mdhttps://lists.debian.org/debian-lts-announce/2021/04/msg00004.htmlhttps://lists.debian.org/debian-lts-announce/2021/04/msg00014.htmlhttps://security.gentoo.org/glsa/202105-06https://www.debian.org/security/2022/dsa-5151