CVE-2017-1000480
publishedphp-Smarty: Code injection when calling fetch() or display() on unsanitized template names
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | smarty3 | Advisory build | 3.1.21-1+deb8u1 | DSA-4094-1 |
| Debian | stretch | smarty3 | Advisory build | 3.1.31+20161214.1.c7d42e4+selfpack1-2+deb9u1 | DSA-4094-1 |
| Debian | wheezy | smarty3 | Advisory build | 3.1.10-2+deb7u2 | DLA-1249-1 |
Description
Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when calling fetch() or display() functions on custom resources that does not sanitize template name.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
4- https://github.com/smarty-php/smarty/blob/master/change_log.txt
- [debian-lts-announce] 20180119 [SECURITY] [DLA 1249-1] smarty3 security update https://lists.debian.org/debian-lts-announce/2018/01/msg00023.html
- [debian-lts-announce] 20180201 [SECURITY] [DLA 1249-2] smarty3 regression update https://lists.debian.org/debian-lts-announce/2018/02/msg00000.html
- DSA-4094 https://www.debian.org/security/2018/dsa-4094
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 87062bec017ad2638de9b0ae23261ee31ce4fad71ed05d91ea4da406d0ab0ef3
- Ingested
- 23 Sep 2026, 07:41:47 UTC
- Source record
- Official CVE record