Thread View: linux.debian.bugs.rc
1 messages
1 total messages
Started by Moritz Mühlenhoff
Sat, 28 Nov 2026 21:40
Bug#1155682: smarty3: CVE-2026-82531 CVE-2026-62992 CVE-2026-62993
Author: Moritz Mühlenhoff
Date: Sat, 28 Nov 2026 21:40
Date: Sat, 28 Nov 2026 21:40
63 lines
4313 bytes
4313 bytes
Source: smarty3
X-Debbugs-CC: team@security.debian.org
Severity: grave
Tags: security
Hi,
The following vulnerabilities were published for smarty3.
Why is smarty3 still in the archive? A simulated dak run shows no
reverse deps.
CVE-2026-82531[0]:
| Smarty before 4.5.8 and 5.x before 5.8.5 contains a code injection
| vulnerability where the top-level nocache_hash is never restored
| during extends:/multi-component template inheritance, leaving it
| null. Attackers can supply assigned data containing a forged
| SmartyNocache marker that is copied verbatim into the regenerated
| PHP cache file, executing arbitrary PHP on include for remote code
| execution.
CVE-2026-62992[1]:
| Smarty is a template engine for PHP, facilitating the separation of
| presentation (HTML/CSS) from application logic. Prior to 5.8.2 (and
| 4.5.7 on the 4.x line), Security::_checkDir() does not fully resolve
| symbolic links before validating that a requested path lies within a
| configured secure directory. An attacker able to place or reference
| a symlink within a directory Smarty treats as trusted (e.g., a
| template or config directory) could use it to point outside the
| intended secure directory, bypassing the containment check and
| reading arbitrary files accessible to the PHP process. This issue is
| fixed in versions 5.8.2 and 4.5.7.
CVE-2026-62993[2]:
| Smarty is a template engine for PHP, facilitating the separation of
| presentation (HTML/CSS) from application logic. Prior to 4.5.7 and
| 5.8.2, depending on the release line, Smarty's {fetch} handling in
| libs/plugins/function.fetch.php and src/FunctionHandler/Fetch.php
| used Security::isTrustedUri() to validate only the initial remote
| URL against trusted_uri when a security policy was active. For
| resources handled by file_get_contents(), including HTTPS URLs, PHP
| followed HTTP redirects by default. An attacker who could supply or
| influence a fetch target and had an open redirect on a trusted host
| could redirect the request to an attacker-chosen internal endpoint,
| bypass the trusted_uri allowlist, and perform server-side request
| forgery. This issue is fixed in versions 4.5.7 and 5.8.2.
If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2026-82531
https://www.cve.org/CVERecord?id=CVE-2026-82531
[1] https://security-tracker.debian.org/tracker/CVE-2026-62992
https://www.cve.org/CVERecord?id=CVE-2026-62992
[2] https://security-tracker.debian.org/tracker/CVE-2026-62993
https://www.cve.org/CVERecord?id=CVE-2026-62993
Please adjust the affected versions in the BTS as needed.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads