CVE-2021-26120

CRITICAL

Smarty < 3.1.39 - Code Injection via Unexpected Function Name

Title source: llm
STIX 2.1

Description

Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.

References (5)

Core 5
Core References
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2021/04/msg00004.html
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2021/04/msg00014.html
Patch, Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/202105-06
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2022/dsa-5151

Scores

CVSS v3 9.8
EPSS 0.8232
EPSS Percentile 99.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-94
Status published
Products (5)
debian/debian_linux 9.0
debian/debian_linux 10.0
debian/debian_linux 11.0
smarty/smarty < 3.1.39
smarty/smarty 0 - 3.1.39Packagist
Published Feb 22, 2021
Tracked Since Feb 18, 2026