CVE catalog

CVE-2018-16831

smarty3: CVE-2018-16831

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
2.66% · Oct 25, 2026

Smarty before 3.1.33-dev-4 allows attackers to bypass the trusted_dir protection mechanism via a file:./../ substring in an include statement.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiansmarty3sid3.1.48-2fixed
Debiansmarty3forky3.1.48-2fixed
Debiansmarty3trixie3.1.48-2fixed
Debiansmarty3bookworm3.1.47-2+deb12u1fixed
Debiansmarty3bookworm-security3.1.47-2+deb12u1fixed
Ubuntusmarty318.043.1.31+20161214.1.c7d42e4+selfpack1-2vulnerable
Ubuntusmarty318.043.1.31+20161214.1.c7d42e4+selfpack1-3vulnerable
Ubuntusmarty318.043.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiansmarty3sourcesid3.1.33+20180830.1.3a78a21f+selfpack1-1not yet assignedNot reported[908698]
Debiansmarty3sourceforky3.1.33+20180830.1.3a78a21f+selfpack1-1not yet assignedNot reported[908698]
Debiansmarty3sourcetrixie3.1.33+20180830.1.3a78a21f+selfpack1-1not yet assignedNot reported[908698]
Debiansmarty3sourcebookworm3.1.33+20180830.1.3a78a21f+selfpack1-1not yet assignedNot reported[908698]
Ubuntusmarty3deb18.043.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1Not reportedUBUNTU-CVE-2018-16831Not reported

[Debian bug #908698]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [smarty3]Fixed
    Details (4)
    • 3.1.47-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.1.33+20180830.1.3a78a21f+selfpack1-1

      dsa · smarty3 · debian · bookworm; dsa · smarty3 · debian · 12

    • 3.1.47-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.1.33+20180830.1.3a78a21f+selfpack1-1

      dsa · smarty3 · debian · bookworm; dsa · smarty3 · debian · 12

    • 3.1.47-2+deb12u1 · all · bookworm-security

      Fixed · Fixed: 3.1.33+20180830.1.3a78a21f+selfpack1-1

      dsa · smarty3 · debian · bookworm; dsa · smarty3 · debian · 12

    • 3.1.47-2+deb12u1 · all · bookworm-security

      Fixed · Fixed: 3.1.33+20180830.1.3a78a21f+selfpack1-1

      dsa · smarty3 · debian · bookworm; dsa · smarty3 · debian · 12

[Debian 13 (Trixie)]

  • [smarty3]Fixed
    Details (2)
    • 3.1.48-2 · all · trixie

      Fixed · Fixed: 3.1.33+20180830.1.3a78a21f+selfpack1-1

      dsa · smarty3 · debian · 13

    • 3.1.48-2 · all · trixie

      Fixed · Fixed: 3.1.33+20180830.1.3a78a21f+selfpack1-1

      dsa · smarty3 · debian · 13

Observed:

References