# MGASA-2021-0335

- 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: 2021-07-10 · Modified: 2026-04-16
- Record: https://cvemate.com/vulnerability/MGASA-2021-0335 · JSON: https://cvemate.com/vulnerability/MGASA-2021-0335/json

## Description

```text
Updated php-smarty package fixes security vulnerabilities

Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object
can be accessed in sandbox mode (CVE-2021-26119).

Smarty before 3.1.39 allows code injection via an unexpected function name
after a {function name= substring (CVE-2021-26120).
```

## 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

- mageia php-smarty (Mageia): \< 3.1.39-1.mga7
- mageia php-smarty (Mageia): \< 3.1.39-1.mga8

## References

- <https://advisories.mageia.org/MGASA-2021-0335.html>
- <https://bugs.mageia.org/show_bug.cgi?id=28996>
- <https://github.com/smarty-php/smarty/releases/tag/v3.1.39>
- <https://www.debian.org/lts/security/2021/dla-2618>

---

Data as of 2026-12-05T14:50:59.421Z. 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
