{
  "fix": "smarty3 3.1.31\u002B20161214.1.c7d42e4\u002Bselfpack1-3ubuntu0.1",
  "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-smarty3-3.1.31-20161214.1.c7d42e4-selfpack1-3ubuntu0.1",
  "summary": "smarty3 3.1.31\u002B20161214.1.c7d42e4\u002Bselfpack1-3ubuntu0.1, released January 10, 2022, fixes 6 CVEs in smarty3. None of them is reported as exploited. Patch Radar priority: High. The product is no longer supported.",
  "platform": "linux",
  "type": "package",
  "title": "smarty3 3.1.31\u002B20161214.1.c7d42e4\u002Bselfpack1-3ubuntu0.1 for Ubuntu 18.04.6 LTS (bionic)",
  "released": "2022-01-10T12:15:00Z",
  "priority": "High",
  "priorityTier": 3,
  "priorityReason": "Closes CVE-2021-21408, high severity",
  "supported": false,
  "cveCount": 6,
  "exploitedCveCount": 0,
  "kevCveCount": 0,
  "ransomwareCveCount": 0,
  "maxEpss": 0.82316,
  "maxCvss": 8.8,
  "appliesTo": [
    {
      "product": "smarty3",
      "productUrl": "https://patchblox.com/security/product/linux/smarty3",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "3.1.31\u002B20161214.1.c7d42e4\u002Bselfpack1-3ubuntu0.1",
      "supported": true
    }
  ],
  "cves": [
    {
      "cveId": "CVE-2021-21408",
      "url": "https://patchblox.com/security/cve/CVE-2021-21408",
      "title": "smarty3: Smarty is a template engine for PHP, facilitating the separation ofpresentation (HTML/CSS) from application logic",
      "priority": "High",
      "severity": "Medium",
      "cvss": 8.8,
      "epss": 0.02143,
      "kev": false,
      "ransomware": false,
      "exploited": false,
      "disclosed": false
    },
    {
      "cveId": "CVE-2021-29454",
      "url": "https://patchblox.com/security/cve/CVE-2021-29454",
      "title": "smarty3: Smarty is a template engine for PHP, facilitating the separation ofpresentation (HTML/CSS) from application logic",
      "priority": "High",
      "severity": "High",
      "cvss": 8.8,
      "epss": 0.01861,
      "kev": false,
      "ransomware": false,
      "exploited": false,
      "disclosed": false
    },
    {
      "cveId": "CVE-2021-26120",
      "url": "https://patchblox.com/security/cve/CVE-2021-26120",
      "title": "smarty3: Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.",
      "priority": "Routine",
      "severity": "Medium",
      "epss": 0.82316,
      "kev": false,
      "ransomware": false,
      "exploited": false,
      "disclosed": false
    },
    {
      "cveId": "CVE-2021-26119",
      "url": "https://patchblox.com/security/cve/CVE-2021-26119",
      "title": "smarty3: Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode.",
      "priority": "Routine",
      "severity": "Medium",
      "epss": 0.08494,
      "kev": false,
      "ransomware": false,
      "exploited": false,
      "disclosed": false
    },
    {
      "cveId": "CVE-2018-13982",
      "url": "https://patchblox.com/security/cve/CVE-2018-13982",
      "title": "smarty3: Smarty_Security::isTrustedResourceDir() in Smarty before 3.1.33 is prone to a path traversal vulnerability due to ins...",
      "priority": "Routine",
      "severity": "Medium",
      "epss": 0.03463,
      "kev": false,
      "ransomware": false,
      "exploited": false,
      "disclosed": false
    },
    {
      "cveId": "CVE-2018-16831",
      "url": "https://patchblox.com/security/cve/CVE-2018-16831",
      "title": "smarty3: Smarty before 3.1.33-dev-4 allows attackers to bypass the trusted_dir protection mechanism via a file:./../ substring...",
      "priority": "Routine",
      "severity": "Medium",
      "epss": 0.02664,
      "kev": false,
      "ransomware": false,
      "exploited": false,
      "disclosed": false
    }
  ],
  "dataAsOf": "2026-11-13T14:02:24Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}