UBUNTU-CVE-2021-26120

Source
https://ubuntu.com/security/CVE-2021-26120
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-26120.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-26120
Upstream
Downstream
USN (3)
Related
Published
2021-02-22T02:15:00Z
Modified
2026-02-04T03:29:46Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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

References

Affected packages

Ubuntu:Pro:16.04:LTS / smarty3

Package

Name
smarty3
Purl
pkg:deb/ubuntu/smarty3@3.1.21-1ubuntu1+esm1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.1.21-1ubuntu1+esm1

Affected versions

3.*
3.1.21-1
3.1.21-1ubuntu1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "smarty3",
            "binary_version":  "3.1.21-1ubuntu1+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-26120.json"

Ubuntu:18.04:LTS / smarty3

Package

Name
smarty3
Purl
pkg:deb/ubuntu/smarty3@3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1

Affected versions

3.*
3.1.31+20161214.1.c7d42e4+selfpack1-2
3.1.31+20161214.1.c7d42e4+selfpack1-3

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "smarty3",
            "binary_version":  "3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-26120.json"

Ubuntu:Pro:20.04:LTS / smarty3

Package

Name
smarty3
Purl
pkg:deb/ubuntu/smarty3@3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1~esm1

Affected versions

3.*
3.1.33+20180830.1.3a78a21f+selfpack1-1
3.1.34+20190228.1.c9f0de05+selfpack1-1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "smarty3",
            "binary_version":  "3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-26120.json"