USN-6012-1

Type: Security
Severity: Medium
Published: 2023-04-13
Ubuntu 22.04 LTS (Jammy Jellyfish)

It was discovered that Smarty incorrectly parsed blocks' names and included files' names. A remote attacker with template writing permissions could use this issue to execute arbitrary PHP code. (CVE-2022-29221) Update Instructions: Run `sudo pro fix USN-6012-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: smarty3 - 3.1.39-2ubuntu1.22.04.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T04:50:43.236Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T04:50:43.236Z UTC. Last updated 2025-11-26T08:00:07.189Z UTC.

Upstream Advisory

Affected Packages

  • smarty3 3.1.39-2ubuntu1.22.04.1-3.1.39-2ubuntu1.22.04.1

Interested in being alerted when there are new versions of smarty3? Set up an alert.
USN-6012-1: Smarty vulnerability | Package Alert