CVE
CVE-2021-26120
publishedPackage status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | stretch | smarty3 | Advisory build | 3.1.31+20161214.1.c7d42e4+selfpack1-2+deb9u2 | DLA-2618-1 |
| Ubuntu | bionic | smarty3 | Advisory build | 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1 | USN-5348-1 |
| Ubuntu | focal | smarty3 | Advisory build | 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1~esm1 | USN-5348-3 |
| Ubuntu | xenial | smarty3 | Advisory build | 3.1.21-1ubuntu1+esm1 | USN-5348-2 |
Description
Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- https://github.com/smarty-php/smarty/blob/master/CHANGELOG.md
- [debian-lts-announce] 20210405 [SECURITY] [DLA 2618-1] smarty3 security update https://lists.debian.org/debian-lts-announce/2021/04/msg00004.html
- [debian-lts-announce] 20210416 [SECURITY] [DLA 2618-2] smarty3 regression update https://lists.debian.org/debian-lts-announce/2021/04/msg00014.html
- GLSA-202105-06 https://security.gentoo.org/glsa/202105-06
- DSA-5151 https://www.debian.org/security/2022/dsa-5151
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 57cdb2f17e020c9a431266350490795cfc6b87ac4c288fb263a9512ffb9518e7
- Ingested
- 23 Sep 2026, 07:53:18 UTC
- Source record
- Official CVE record