{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "7.6.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8c98fc6e5d35d7bc893073821edf3d082602c235"
            }
          ],
          "repo": "https://github.com/scriban/scriban",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137510.json"
  },
  "details": "Scriban and Scriban.Signed before 7.6.0 allow template authors to bypass the LimitToString string length limit because the string.literal, string.base64_encode, html.escape, html.newline_to_br, html.url_encode, and html.url_escape builtins lack allocation guards. An attacker who can supply a small template can repeatedly call these builtins under the default TemplateContext to force multi-gigabyte allocations and exhaust host memory.",
  "id": "CVE-2026-137510",
  "modified": "2026-11-26T17:45:29.015446270Z",
  "published": "2026-11-26T16:00:55.097Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137510.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/scriban/scriban/security/advisories/GHSA-28wr-xhqr-9mf4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/scriban/scriban/security/advisories/GHSA-wmmr-qjc6-rp53"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137510"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/scriban-before-7.6.0-memory-exhaustion-via-unguarded-string-and-html-builtins"
    }
  ],
  "related": [
    "GHSA-28wr-xhqr-9mf4",
    "GHSA-wmmr-qjc6-rp53"
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Scriban before 7.6.0 Memory Exhaustion via Unguarded String and HTML Builtins"
}