Skip to content
OpenAdvisories
Critical · 9.8 CVE-2011-1028 EUVD-2022-1647GHSA-6frx-2r5w-c524

Smarty3 Arbitrary PHP Code Execution

Published Nov 20, 2019 · Updated Aug 6, 2024 · Assigned by redhat

Description

The $smarty.template variable in Smarty3 allows attackers to possibly execute arbitrary PHP code via the sysplugins/smarty_internal_compile_private_special_variable.php file.

Affected products

VendorProductAffectedFixed
smarty3 smarty3 3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 smarty3 3.0.8-1 —
Debian 13 smarty3 3.0.8-1 —
Debian 12 smarty3 3.0.8-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist smarty/smarty < 3.0.7 3.0.7 GHSA-6frx-2r5w-c524

References