9.8

CVE-2021-26120: debian debian_linux Improper Control of Generation of Code

Modified
AliasesUBUNTU-CVE-2021-26120DEBIAN-CVE-2021-26120
Published 22-02-2021Last modified 03-08-2024

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.

Priority
Prioritisesevere

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?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
82.32%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 3

Timeline

  1. 22-02-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last 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

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

05-11-202605-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
Smarty1 product
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
Show all 11 references