CVE-2022-29221
PHP Code Injection by malicious block or filename in Smarty
02 Description
PHP Code Injection by malicious block or filename in Smarty
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 4.91% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 91.8% of scored records. A rank, not a probability.
- NVD base score
- 8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-05-24 00:00Z4 YR AGO
- Last updated
- 2025-04-23 18:22Z1 YR AGO
- Reserved
- 2022-04-13
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94Improper Control of Generation of Code ('Code Injection')Base
- Data version
- 5.1
- Document digest
- 6582dd6bd10f2154bd7fcb210d55dd77d5c99390398de3a17757e8da561d08dc
05 Affected products
06 References
- github.comhttps://github.com/smarty-php/smarty/security/advisories/GHSA-634x-pc3q-cf4c
- github.comhttps://github.com/smarty-php/smarty/commit/64ad6442ca1da31cefdab5c9874262b702cccddd
- github.comhttps://github.com/smarty-php/smarty/releases/tag/v3.1.45
- github.comhttps://github.com/smarty-php/smarty/releases/tag/v4.1.1
- lists.debian.org[debian-lts-announce] 20220529 [SECURITY] [DLA 3033-1] smarty3 security updatehttps://lists.debian.org/debian-lts-announce/2022/05/msg00044.html
- www.debian.orgDSA-5151https://www.debian.org/security/2022/dsa-5151
- security.gentoo.orgGLSA-202209-09https://security.gentoo.org/glsa/202209-09
- lists.fedoraproject.orgFEDORA-2022-52154efd61https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L777JIBIWJV34HS7LXPIDWASG7TT4LNI/
- lists.fedoraproject.orgFEDORA-2022-d5fc9dcdd7https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BRAJVDRGCIY5UZ2PQHKDTT7RMKG6WJQQ/
07 Fixed in
Debian 12
- smarty3 Fixed in 3.1.45-1
- smarty4 Fixed in 4.1.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- smarty3 Fixed in 3.1.45-1
- smarty4 Fixed in 4.1.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- smarty3 Fixed in 3.1.45-1
- smarty4 Fixed in 4.1.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- collabtive No fix yet
- galette No fix yet
- gosa No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- gosa No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- gosa No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- gosa No fix yet
- smarty3 Fixed in 3.1.39-2ubuntu1.22.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- gosa No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- gosa No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- gosa No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.10
- gosa No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- smarty3 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- postfixadmin Fixed in 3.0.2-2ubuntu0.1~esm1Available with Ubuntu Pro: https://ubuntu.com/pro
- smarty3 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- postfixadmin Fixed in 3.2.1-3ubuntu0.1~esm1Available with Ubuntu Pro: https://ubuntu.com/pro
- smarty3 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 22.04 LTS
- postfixadmin Fixed in 3.3.10-2ubuntu0.1~esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.