Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. From 5.0.0 until 5.8.4, Smarty's stream: resource-name handling does not adequately restrict which PHP stream wrappers and filter chains can be referenced from a template, allowing a php://filter-wrapped resource name to be used to read the contents of arbitrary local files accessible to the PHP process. An attacker able to author or influence a template's resource reference could exploit this to disclose sensitive file contents outside the intended template/config scope. This issue is fixed in version 5.8.4.
CVE-2026-62996
This medium-severity CVE scores 6.9 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.5% (41st percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.9
- EG Score
- 6.9MEDIUMmedium confidence
- EG Risk
- 47EG Risk 47/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity69% × 45%Exploitation40% × 40%Automatability0% × 15%CISA SSVC: Track at low or medium mission impact; Track* at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 0.5%
- EPSS %ILE
- 41st
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track* at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines.
Exploitation public PoC (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
August 7, 2026
Last Modified
September 9, 2026
Advisory Details (4)
Auto-updated Aug 7, 2026Release v5.8.4 (smarty-php/smarty)
Patch available: smarty-php/smarty v5.8.4
https://github.com/smarty-php/smarty/releases/tag/v5.8.4commit 3c9f77a2e06c (smarty-php/smarty)
Patch available: smarty-php/smarty v5.8.4 (contains commit 3c9f77a2e06c)
https://github.com/smarty-php/smarty/commit/3c9f77a2e06ce319ae0092496af32cc8f3adc52eSecurity: validate nested stream wrapper in stream: resource (CWE-22)
Patch available: smarty-php/smarty v5.8.4 (PR #1195 merged 2026-06-29)
https://github.com/smarty-php/smarty/pull/1195Smarty Security stream restriction bypass through stream: resource · Advisory · smarty-php/smarty · GitHub
https://github.com/smarty-php/smarty/security/advisories/GHSA-rjhh-76wf-8xmwVendor Advisories for CVE-2026-62996(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Packagist(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| smarty/smarty | v5.0.0 ... v5.8.3 (22 versions) |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 41× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-10-05 08:15 UTCEG score recompute
- 2026-10-04 23:22 UTCEPSS rescore
- 2026-10-04 05:44 UTCEG score recompute
- 2026-10-03 14:26 UTCEPSS rescore
- 2026-10-02 17:56 UTCEPSS rescore
- 2026-10-02 09:33 UTCEG score recompute
- 2026-10-01 19:50 UTCEPSS rescore
- 2026-09-30 22:55 UTCEG score recompute
- 2026-09-30 15:03 UTCEPSS rescore
- 2026-09-29 05:46 UTCEG score recompute
- 2026-09-28 13:51 UTCEPSS rescore
- 2026-09-27 17:10 UTCEG score recompute
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-25 07:12 UTCEG score recompute
- 2026-09-24 05:00 UTCEG score recompute
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-23 02:56 UTCEG score recompute
- 2026-09-22 00:54 UTCEG score recompute
- 2026-09-20 22:51 UTCEG score recompute
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-19 20:11 UTCEG score recompute
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 17:34 UTCEG score recompute
- 2026-09-17 15:11 UTCEG score recompute
- 2026-09-16 14:08 UTCEPSS rescore
Show 68 moreShow fewer
- 2026-09-16 11:13 UTCEG score recompute
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-15 09:11 UTCEG score recompute
- 2026-09-14 07:09 UTCEG score recompute
- 2026-09-13 05:07 UTCEG score recompute
- 2026-09-12 03:05 UTCEG score recompute
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 09:37 UTCEPSS rescore
- 2026-09-11 01:03 UTCEG score recompute
- 2026-09-09 06:00 UTCEG score recompute
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 17:45 UTCEG score recompute
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 13:16 UTCEG score recompute
- 2026-09-05 15:31 UTCEPSS rescore
- 2026-09-05 11:14 UTCEG score recompute
- 2026-09-04 09:06 UTCEG score recompute
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-03 06:02 UTCEG score recompute
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-02 00:47 UTCEG score recompute
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 22:28 UTCEG score recompute
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 18:00 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-29 15:59 UTCEG score recompute
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-28 11:54 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-27 09:14 UTCEG score recompute
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-26 07:09 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 05:01 UTCEG score recompute
- 2026-08-23 00:53 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 22:51 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 18:47 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 15:40 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 12:40 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 10:38 UTCEG score recompute
- 2026-08-15 08:37 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 06:35 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 04:34 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-12 02:32 UTCEG score recompute
- 2026-08-11 00:31 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-09 22:29 UTCEG score recompute
- 2026-08-09 13:47 UTCEPSS rescore
- 2026-08-08 20:28 UTCEG score recompute
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 18:26 UTCEG score recompute
- 2026-08-07 17:27 UTCEG score recompute
- 2026-08-07 16:23 UTCEG score recompute
- 2026-08-07 15:23 UTCEG score recompute
- 2026-08-07 15:22 UTCMITRE cvelistV5first tracked
Related CVEs(same product + same CWE)
Same product
10 shownPackagist:smarty/smarty
Frequently asked(5)
What is CVE-2026-62996?
When was CVE-2026-62996 disclosed?
Is CVE-2026-62996 actively exploited?
What is the CVSS score of CVE-2026-62996?
How do I remediate CVE-2026-62996?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-62996
Is Your Infrastructure Affected by CVE-2026-62996?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.