CVE-2021-26120: debian debian_linux Improper Control of Generation of Code
Vulnerability summary
CVE-2021-26120 is a critical (CVSS 9.8) Improper Control of Generation of Code vulnerability in debian debian_linux. EPSS estimates a 82.32% chance of exploitation in the next 30 days, higher than 99.6% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 82% (FIRST, 05-12-2026)
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 3Timeline
- 22-02-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
82.32%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
No change 0.00 pp
From 82.32% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- smarty3< 3.1.39-1
- debian_linuxEOL9.0 | 10.0 | 11.0
Smarty1 product
- smarty< 3.1.39
Ubuntu1 product
- smarty3< 3.1.21-1ubuntu1+esm1 | < 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1 | < 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1~esm1
3 vendors · 4 products
References
11 links- github.com/smarty-php/smarty/blob/master/CHANGELOG.mdX Refsource MISCREPORTRelease NotesThird Party Advisory
- lists.debian.org/debian-lts-announce/2021/04/msg00004.htmlMailing ListX Refsource MLISTThird Party Advisory
- lists.debian.org/debian-lts-announce/2021/04/msg00014.htmlMailing ListX Refsource MLISTThird Party Advisory