# USN-5348-1

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2022-03-28 · Modified: 2026-11-24
- Record: https://cvemate.com/vulnerability/USN-5348-1 · JSON: https://cvemate.com/vulnerability/USN-5348-1/json

## Description

```text
smarty3 vulnerabilities

David Gnedt and Thomas Konrad discovered that Smarty was incorrectly
sanitizing the paths present in the templates. An attacker could possibly
use this use to read arbitrary files when controlling the executed
template. (CVE-2018-13982)

It was discovered that Smarty was incorrectly sanitizing the paths
present in the templates. An attacker could possibly use this use to read
arbitrary files when controlling the executed template. (CVE-2018-16831)

It was discovered that Smarty was incorrectly validating security policy
data, allowing the execution of static classes even when not permitted by
the security settings. An attacker could possibly use this issue to
execute arbitrary code. (CVE-2021-21408)

It was discovered that Smarty was incorrectly managing access control to
template objects, which allowed users to perform a sandbox escape. An
attacker could possibly use this issue to send specially crafted input to
applications that use Smarty and execute arbitrary code. (CVE-2021-26119)

It was discovered that Smarty was not checking for special characters
when setting function names during plugin compile operations. An attacker
could possibly use this issue to send specially crafted input to
applications that use Smarty and execute arbitrary code. (CVE-2021-26120)

It was discovered that Smarty was incorrectly sanitizing characters in
math strings processed by the math function. An attacker could possibly
use this issue to send specially crafted input to applications that use
Smarty and execute arbitrary code. (CVE-2021-29454)
```

## Signals

- CVSS: none published
- EPSS: not scored
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu smarty3 (Ubuntu): \< 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1

## References

- <https://ubuntu.com/security/notices/USN-5348-1>
- <https://ubuntu.com/security/CVE-2018-13982>
- <https://ubuntu.com/security/CVE-2018-16831>
- <https://ubuntu.com/security/CVE-2021-21408>
- <https://ubuntu.com/security/CVE-2021-26119>
- <https://ubuntu.com/security/CVE-2021-26120>
- <https://ubuntu.com/security/CVE-2021-29454>

---

Data as of 2026-12-05T14:42:39.207Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
