Vulnerabilities / CVE-2017-1000480

critical

CVE-2017-1000480

Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when call ...

Published Modified CWE 94
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
composer::GitHub Security Advisory Composersmarty/smarty3.1.32
debian 11smarty33.1.31+20161214.1.c7d42e4+selfpack1-3
debian 12smarty33.1.31+20161214.1.c7d42e4+selfpack1-3
debian 13smarty33.1.31+20161214.1.c7d42e4+selfpack1-3
debian 14smarty33.1.31+20161214.1.c7d42e4+selfpack1-3
debian 7smarty33.1.10-2+deb7u2
debian 8smarty33.1.21-1+deb8u1
debian 9smarty33.1.31+20161214.1.c7d42e4+selfpack1-2+deb9u1
echosmarty33.1.31+20161214.1.c7d42e4+selfpack1-3
ubuntu 18.04smarty33.1.31+20161214.1.c7d42e4+selfpack1-3
ubuntu 18.04-ESMsmarty33.1.31+20161214.1.c7d42e4+selfpack1-3

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.