CVE-2009-5054
HIGH 7.5CVSS 2.0Smarty Does Not Consider Umask Values When Setting Permissions
Smarty before 3.0.0 beta 4 does not consider the umask value when setting the permissions of files, which might allow attackers to bypass intended access restrictions via standard filesystem operations.
- Published
- 3 Feb 2011
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-264CWE-281
- Also known as
- GHSA-6m9f-8vwq-97pm
- Sources
- NVDJSONOSV GHSA-6m9f-8vwq-97pmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* |
<= 2.6.26 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.0:*:*:*:*:*:*:* |
= 1.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.0a:*:*:*:*:*:*:* |
= 1.0a | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.0b:*:*:*:*:*:*:* |
= 1.0b | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.1.0:*:*:*:*:*:*:* |
= 1.1.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.2.0:*:*:*:*:*:*:* |
= 1.2.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.2.1:*:*:*:*:*:*:* |
= 1.2.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.2.2:*:*:*:*:*:*:* |
= 1.2.2 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.3.0:*:*:*:*:*:*:* |
= 1.3.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.3.1:*:*:*:*:*:*:* |
= 1.3.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.3.2:*:*:*:*:*:*:* |
= 1.3.2 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.0:*:*:*:*:*:*:* |
= 1.4.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.0:b1:*:*:*:*:*:* |
= 1.4.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.0:b2:*:*:*:*:*:* |
= 1.4.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.1:*:*:*:*:*:*:* |
= 1.4.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.2:*:*:*:*:*:*:* |
= 1.4.2 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.3:*:*:*:*:*:*:* |
= 1.4.3 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.4:*:*:*:*:*:*:* |
= 1.4.4 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.5:*:*:*:*:*:*:* |
= 1.4.5 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.6:*:*:*:*:*:*:* |
= 1.4.6 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.5.0:*:*:*:*:*:*:* |
= 1.5.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.5.1:*:*:*:*:*:*:* |
= 1.5.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.5.2:*:*:*:*:*:*:* |
= 1.5.2 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.0.0:*:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.0.1:*:*:*:*:*:*:* |
= 2.0.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.1.0:*:*:*:*:*:*:* |
= 2.1.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.1.1:*:*:*:*:*:*:* |
= 2.1.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.2.0:*:*:*:*:*:*:* |
= 2.2.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.3.0:*:*:*:*:*:*:* |
= 2.3.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.3.1:*:*:*:*:*:*:* |
= 2.3.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.4.0:*:*:*:*:*:*:* |
= 2.4.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.4.1:*:*:*:*:*:*:* |
= 2.4.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.4.2:*:*:*:*:*:*:* |
= 2.4.2 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.5.0:*:*:*:*:*:*:* |
= 2.5.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.5.0:rc1:*:*:*:*:*:* |
= 2.5.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.5.0:rc2:*:*:*:*:*:* |
= 2.5.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.0:*:*:*:*:*:*:* |
= 2.6.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.0:rc1:*:*:*:*:*:* |
= 2.6.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.0:rc2:*:*:*:*:*:* |
= 2.6.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.0:rc3:*:*:*:*:*:* |
= 2.6.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.1:*:*:*:*:*:*:* |
= 2.6.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.2:*:*:*:*:*:*:* |
= 2.6.2 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.3:*:*:*:*:*:*:* |
= 2.6.3 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.4:*:*:*:*:*:*:* |
= 2.6.4 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.5:*:*:*:*:*:*:* |
= 2.6.5 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.6:*:*:*:*:*:*:* |
= 2.6.6 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.7:*:*:*:*:*:*:* |
= 2.6.7 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.9:*:*:*:*:*:*:* |
= 2.6.9 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.10:*:*:*:*:*:*:* |
= 2.6.10 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.11:*:*:*:*:*:*:* |
= 2.6.11 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.12:*:*:*:*:*:*:* |
= 2.6.12 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.13:*:*:*:*:*:*:* |
= 2.6.13 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.14:*:*:*:*:*:*:* |
= 2.6.14 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.15:*:*:*:*:*:*:* |
= 2.6.15 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.16:*:*:*:*:*:*:* |
= 2.6.16 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.17:*:*:*:*:*:*:* |
= 2.6.17 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.18:*:*:*:*:*:*:* |
= 2.6.18 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.20:*:*:*:*:*:*:* |
= 2.6.20 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.22:*:*:*:*:*:*:* |
= 2.6.22 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.24:*:*:*:*:*:*:* |
= 2.6.24 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.25:*:*:*:*:*:*:* |
= 2.6.25 | |
| OSV | Packagist | smarty/smarty | < 3.0.0-beta4 | 3.0.0-beta4 |
References
- http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt
- https://nvd.nist.gov/vuln/detail/CVE-2009-5054 · ADVISORY
- https://github.com/smarty-php/smarty · PACKAGE
- https://web.archive.org/web/20101116174040/http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt · WEB
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 3 Feb 2011)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 2 May 2022)