MGASA-2026-0585

Source
https://advisories.mageia.org/MGASA-2026-0585.html
Import Source
https://advisories.mageia.org/MGASA-2026-0585.json
JSON Data
https://api.osv.dev/v1/vulns/MGASA-2026-0585
Upstream
Published
2026-11-09T16:32:57Z
Modified
2026-11-09T16:45:57Z
Summary
Updated php-smarty package fixes a security vulnerability
Details

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.

References
Credits

Affected packages

Mageia:10 / php-smarty

Package

Name
php-smarty
Purl
pkg:rpm/mageia/php-smarty?arch=source&distro=mageia-10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.8.5-1.mga10

Ecosystem specific

{
    "section": "core"
}

Database specific

source
"https://advisories.mageia.org/MGASA-2026-0585.json"