Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-19838

In LibSass prior to 3.5.5, functions inside ast.cpp for IMPLEMENT_AST_OPERATORS expansion allow attackers to cause a denial-of-service resulting from stack consumption via a crafted sass file, as demonstrated by recursive calls involving clone(), cloneChildren(), and copy().

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-19838
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:51 UTC · Revision 1

Source evidence

CVE-2018-19838

core-osv · Original source

Published 4 Dec 2018, 09:29 UTC

In LibSass prior to 3.5.5, functions inside ast.cpp for IMPLEMENT_AST_OPERATORS expansion allow attackers to cause a denial-of-service resulting from stack consumption via a crafted sass file, as demonstrated by recursive calls involving clone(), cloneChildren(), and copy().

osv:CVE-2018-19838
Complete source record
{
  "id": "dfc3f2b56eefcd086afc75c8c3c9dd9722bc647a7a4c7543aa768477f7c61c03",
  "url": "https://osv.dev/vulnerability/CVE-2018-19838",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-19838",
    "summary": "In LibSass prior to 3.5.5, functions inside ast.cpp for IMPLEMENT_AST_OPERATORS expansion allow attackers to cause a denial-of-service resulting from stack consumption via a crafted sass file, as demonstrated by recursive calls involving clone(), cloneChildren(), and copy().",
    "evidence": "osv:CVE-2018-19838",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-19838",
      "aliases": [
        "CVE-2018-19838"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sass/libsass",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "39e30874b9a5dd6a802c20e8b0470ba44eeba929"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sass-lang:libsass:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.5.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.5.4",
            "3.5.3",
            "3.5.2",
            "3.5.1",
            "3.5.0",
            "3.5.0.beta.3",
            "3.5.0.beta.2",
            "3.5.0.beta.1",
            "3.4.2",
            "3.4.0",
            "3.4.0-RC1",
            "3.3.6",
            "3.3.5",
            "3.3.4",
            "3.3.3",
            "3.3.2",
            "3.3.1",
            "3.3.0",
            "3.3.0-beta3",
            "3.3.0-beta2",
            "3.3.0-beta1",
            "3.2.5",
            "3.2.4",
            "3.2.3",
            "3.2.2",
            "3.2.1",
            "3.2.0",
            "3.2.0-beta.6",
            "3.2.0-beta.5",
            "3.2.0-beta.4",
            "3.2.0-beta.3",
            "3.2.0-beta.2",
            "3.2.0-beta.1",
            "3.1.0",
            "3.1.0-beta.2",
            "3.1.0-beta",
            "3.1-alpha2",
            "3.1-alpha",
            "3.0.2",
            "3.0.1",
            "3.0",
            "3.0rc4",
            "3.0rc2",
            "3.0rc1",
            "2.1.0-beta",
            "v2.0",
            "RELEASE-1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19838.json"
          }
        }
      ],
      "modified": "2026-10-24T10:50:32.439430431Z",
      "provider": "osv",
      "references": [
        "https://github.com/sass/libsass/issues/2660"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:sass-lang:libsass:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "sass-lang:libsass",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "3.5.5"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-19838",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442273,
  "published_at": "2018-12-04T09:29:00.49+00:00"
}