
CVE catalog
CVE-2018-16831
smarty3: CVE-2018-16831
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.66% · Oct 25, 2026
Smarty before 3.1.33-dev-4 allows attackers to bypass the trusted_dir protection mechanism via a file:./../ substring in an include statement.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | smarty3 | sid | 3.1.48-2 | fixed |
| Debian | smarty3 | forky | 3.1.48-2 | fixed |
| Debian | smarty3 | trixie | 3.1.48-2 | fixed |
| Debian | smarty3 | bookworm | 3.1.47-2+deb12u1 | fixed |
| Debian | smarty3 | bookworm-security | 3.1.47-2+deb12u1 | fixed |
| Ubuntu | smarty3 | 18.04 | 3.1.31+20161214.1.c7d42e4+selfpack1-2 | vulnerable |
| Ubuntu | smarty3 | 18.04 | 3.1.31+20161214.1.c7d42e4+selfpack1-3 | vulnerable |
| Ubuntu | smarty3 | 18.04 | 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | smarty3 | source | sid | 3.1.33+20180830.1.3a78a21f+selfpack1-1 | not yet assigned | Not reported | [908698] |
| Debian | smarty3 | source | forky | 3.1.33+20180830.1.3a78a21f+selfpack1-1 | not yet assigned | Not reported | [908698] |
| Debian | smarty3 | source | trixie | 3.1.33+20180830.1.3a78a21f+selfpack1-1 | not yet assigned | Not reported | [908698] |
| Debian | smarty3 | source | bookworm | 3.1.33+20180830.1.3a78a21f+selfpack1-1 | not yet assigned | Not reported | [908698] |
| Ubuntu | smarty3 | deb | 18.04 | 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1 | Not reported | UBUNTU-CVE-2018-16831 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [smarty3]Fixed
Details (4)
3.1.47-2+deb12u1· all · bookwormFixed · Fixed:
3.1.33+20180830.1.3a78a21f+selfpack1-1dsa · smarty3 · debian · bookworm; dsa · smarty3 · debian · 12
3.1.47-2+deb12u1· all · bookwormFixed · Fixed:
3.1.33+20180830.1.3a78a21f+selfpack1-1dsa · smarty3 · debian · bookworm; dsa · smarty3 · debian · 12
3.1.47-2+deb12u1· all · bookworm-securityFixed · Fixed:
3.1.33+20180830.1.3a78a21f+selfpack1-1dsa · smarty3 · debian · bookworm; dsa · smarty3 · debian · 12
3.1.47-2+deb12u1· all · bookworm-securityFixed · Fixed:
3.1.33+20180830.1.3a78a21f+selfpack1-1dsa · smarty3 · debian · bookworm; dsa · smarty3 · debian · 12
[Debian 13 (Trixie)]
- [smarty3]Fixed
Details (2)
3.1.48-2· all · trixieFixed · Fixed:
3.1.33+20180830.1.3a78a21f+selfpack1-1dsa · smarty3 · debian · 13
3.1.48-2· all · trixieFixed · Fixed:
3.1.33+20180830.1.3a78a21f+selfpack1-1dsa · smarty3 · debian · 13
Observed: