{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "759bbc3e32073c3bc4e25969c132fc520eda2778"
            }
          ],
          "repo": "https://github.com/gomarkdown/markdown",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-77fj-vx54-gvh7"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40890.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "759bbc3e32073c3bc4e25969c132fc520eda2778"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Processing a malformed input containing a \u003c character that is not followed by a \u003e character anywhere in the remaining text with a SmartypantsRenderer will lead to Out of Bounds read or a panic. This vulnerability is fixed with commit 759bbc3e32073c3bc4e25969c132fc520eda2778.",
  "id": "CVE-2026-40890",
  "modified": "2026-07-16T03:31:12.527117917Z",
  "published": "2026-04-21T19:51:53.237Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40890.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40890"
    },
    {
      "type": "FIX",
      "url": "https://github.com/gomarkdown/markdown/commit/759bbc3e32073c3bc4e25969c132fc520eda2778"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "github.com/gomarkdown/markdown: Out-of-bounds Read in SmartypantsRenderer"
}