{"id":"GO-2026-5208","revision":null,"records":[{"revision":"2e3855f9878648d2bc29daac4b56bd4c","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-40890","aliases":[],"title":"github.com/gomarkdown/markdown: Out-of-bounds Read in SmartypantsRenderer","description":"The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Processing a malformed input containing a < character that is not followed by a > 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.","state":0,"publishedAt":"2026-04-21T19:51:53.237+00:00","modifiedAt":"2026-04-21T20:36:07.854+00:00","affected":[{"ecosystem":"Vendor product","name":"markdown","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"gomarkdown\",\n                    \"product\": \"markdown\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 759bbc3e32073c3bc4e25969c132fc520eda2778\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7","https://github.com/gomarkdown/markdown/commit/759bbc3e32073c3bc4e25969c132fc520eda2778"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-40890","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-40890","identifiers":["CVE-2026-40890"]},"retained":false,"historicalAffected":[]},{"revision":"838f1ca1bba04facbfc76467c4b1f0b7","observedAt":"2026-10-28T05:02:51.308+00:00","statement":{"source":"euvd","id":"EUVD-2026-24280","aliases":["CVE-2026-40890","GHSA-77fj-vx54-gvh7"],"title":"The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Processing a malformed input containing a < character that is not followed by a > character anywhere in the remaining text with a …","description":"The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Processing a malformed input containing a < character that is not followed by a > 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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":null}],"references":["https://github.com/gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7","https://github.com/gomarkdown/markdown/commit/759bbc3e32073c3bc4e25969c132fc520eda2778"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-24280","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Apr 21, 2026, 7:51:53 PM","dateUpdated":"Apr 21, 2026, 8:36:07 PM"},"relatedAdvisories":[{"id":"RHSA-2026:21769","title":"Red Hat Security Advisory: Multicluster Global Hub 1.5.4 security update","vulnerabilityIds":["CVE-2026-4427","CVE-2026-21728","CVE-2026-25679","CVE-2026-27137","CVE-2026-27889","CVE-2026-29785","CVE-2026-32280","CVE-2026-32281","CVE-2026-32282","CVE-2026-32283","CVE-2026-32285","CVE-2026-32286","CVE-2026-33186","CVE-2026-33215","CVE-2026-33216","CVE-2026-33217","CVE-2026-33218","CVE-2026-33219","CVE-2026-33247","CVE-2026-33413","CVE-2026-33487","CVE-2026-33810","CVE-2026-33813","CVE-2026-33997","CVE-2026-34040","CVE-2026-34986","CVE-2026-40890","CVE-2026-41602","CVE-2026-41603","CVE-2026-41604","CVE-2026-41605","CVE-2026-41606","CVE-2026-41607","CVE-2026-41636","CVE-2026-43869"]},{"id":"RHSA-2026:23345","title":"Red Hat Security Advisory: Multicluster Global Hub 1.6.2 security update","vulnerabilityIds":["CVE-2026-4427","CVE-2026-21728","CVE-2026-25679","CVE-2026-27137","CVE-2026-27889","CVE-2026-29785","CVE-2026-32280","CVE-2026-32281","CVE-2026-32282","CVE-2026-32283","CVE-2026-32285","CVE-2026-32286","CVE-2026-33186","CVE-2026-33215","CVE-2026-33216","CVE-2026-33217","CVE-2026-33218","CVE-2026-33219","CVE-2026-33247","CVE-2026-33413","CVE-2026-33487","CVE-2026-33810","CVE-2026-33813","CVE-2026-33997","CVE-2026-34040","CVE-2026-34986","CVE-2026-40890","CVE-2026-41602","CVE-2026-41603","CVE-2026-41604","CVE-2026-41605","CVE-2026-41606","CVE-2026-41607","CVE-2026-41636","CVE-2026-43869"]},{"id":"RHSA-2026:22347","title":"Red Hat Security Advisory: Multicluster Global Hub 1.4.5 security update","vulnerabilityIds":["CVE-2026-4427","CVE-2026-21728","CVE-2026-25679","CVE-2026-27137","CVE-2026-27889","CVE-2026-29785","CVE-2026-32280","CVE-2026-32281","CVE-2026-32282","CVE-2026-32283","CVE-2026-32285","CVE-2026-32286","CVE-2026-33186","CVE-2026-33215","CVE-2026-33216","CVE-2026-33217","CVE-2026-33218","CVE-2026-33219","CVE-2026-33247","CVE-2026-33413","CVE-2026-33487","CVE-2026-33810","CVE-2026-33813","CVE-2026-33997","CVE-2026-34040","CVE-2026-34986","CVE-2026-40890","CVE-2026-41602","CVE-2026-41603","CVE-2026-41604","CVE-2026-41605","CVE-2026-41606","CVE-2026-41607","CVE-2026-41636","CVE-2026-43869"]},{"id":"msrc_CVE-2026-40890","title":"github.com/gomarkdown/markdown: Out-of-bounds Read in SmartypantsRenderer","vulnerabilityIds":["CVE-2026-40890"]},{"id":"RHSA-2026:24539","title":"Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes v2.15.3 security update","vulnerabilityIds":["CVE-2025-48431","CVE-2026-33815","CVE-2026-33816","CVE-2026-40293","CVE-2026-40890","CVE-2026-40895","CVE-2026-41602","CVE-2026-41603","CVE-2026-41604","CVE-2026-41605","CVE-2026-41606","CVE-2026-41607","CVE-2026-41636","CVE-2026-42033","CVE-2026-42035","CVE-2026-42039","CVE-2026-42041","CVE-2026-42043","CVE-2026-42044","CVE-2026-43869"]},{"id":"RHSA-2026:24503","title":"Red Hat Security Advisory: Multicluster Global Hub 1.7.1 security update","vulnerabilityIds":["CVE-2025-41118","CVE-2026-21728","CVE-2026-32281","CVE-2026-32282","CVE-2026-33813","CVE-2026-33815","CVE-2026-33816","CVE-2026-34040","CVE-2026-40293","CVE-2026-40890","CVE-2026-41602","CVE-2026-43869"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-24280","identifiers":["EUVD-2026-24280","CVE-2026-40890","GHSA-77fj-vx54-gvh7"]},"retained":false,"historicalAffected":[]},{"revision":"c2a62e31cefa4cb9a6b2a9e71f6afb5a","observedAt":"2026-10-27T10:10:07.342+00:00","statement":{"source":"nvd","id":"CVE-2026-40890","aliases":[],"title":"The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Processing a malformed input containing a < character that is not followed by a > character anywhere in the remaining text with a …","description":"The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Processing a malformed input containing a < character that is not followed by a > 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.","state":0,"publishedAt":"2026-04-21T20:17:02.81+00:00","modifiedAt":"2026-10-26T21:10:00.17+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/gomarkdown/markdown/commit/759bbc3e32073c3bc4e25969c132fc520eda2778","https://github.com/gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-40890","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-125"],"productCriteria":["cpe:2.3:a:gomarkdown:markdown:*:*:*:*:*:go:*:*"],"sourceDates":{"published":"2026-04-21T20:17:02.810","lastModified":"2026-10-26T21:10:00.170"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-40890","identifiers":["CVE-2026-40890"]},"retained":false,"historicalAffected":[]},{"revision":"086b412083094c87ba62ef40a68e1124","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-77fj-vx54-gvh7","aliases":["CVE-2026-40890","GO-2026-5208"],"title":"Go Markdown has an Out-of-bounds Read in SmartypantsRenderer","description":"### Summary\n\nProcessing a malformed input containing a `<` character that is not followed by a `>` character anywhere in the remaining text with a SmartypantsRenderer will lead to Out of Bounds read or a panic.\n\n### Details\n\nThe `smartLeftAngle()` function in `html/smartypants.go:367-376` performs an out-of-bounds slice operation when processing a `<` character that is not followed by a `>` character anywhere in the remaining text.\nhttps://github.com/gomarkdown/markdown/blob/37c66b85d6ab025ba67a73ba03b7f3ef55859cca/html/smartypants.go#L367-L376\nIf the length of the slice is lower than its capacity, this leads to an extra byte of data read. If the length equals the capacity, this leads to a panic.\n\n### PoC\n```golang\npackage main\n\nimport (\n\t\"bytes\"\n\t\"fmt\"\n\n\t\"github.com/gomarkdown/markdown/html\"\n)\n\nfunc main() {\n\tsrc := []byte(\"<a\")\n\n\tfmt.Printf(\"Input: %q  (len=%d, cap=%d)\\n\", src, len(src), cap(src))\n\n\tvar buf bytes.Buffer\n\tsp := html.NewSmartypantsRenderer(html.Smartypants)\n\tsp.Process(&buf, src) // panics: slice bounds out of range\n\n\tfmt.Printf(\"Output: %q\\n\", buf.String())\n}\n```\n\n### Impact\nThis vulnerability will lead to a Denial of Service / panic on the processing service.\n\n\n-- The Datadog Security Team","state":0,"publishedAt":"2026-04-14T22:38:20+00:00","modifiedAt":"2026-09-10T03:50:43.5916472+00:00","affected":[{"ecosystem":"Go","name":"github.com/gomarkdown/markdown","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.0.0-20260411013819-759bbc3e3207"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7","https://nvd.nist.gov/vuln/detail/CVE-2026-40890","https://github.com/gomarkdown/markdown/commit/759bbc3e32073c3bc4e25969c132fc520eda2778","https://github.com/gomarkdown/markdown"],"sourceUrl":"https://github.com/advisories/GHSA-77fj-vx54-gvh7","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-77fj-vx54-gvh7","identifiers":["GHSA-77fj-vx54-gvh7","CVE-2026-40890","GO-2026-5208"]},"retained":false,"historicalAffected":[]},{"revision":"c0628158c7884176823261d5df3648d9","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-5208","aliases":["CVE-2026-40890","GHSA-77fj-vx54-gvh7"],"title":"Go Markdown has an out-of-bounds read in SmartypantsRenderer in github.com/gomarkdown/markdown","description":"Go Markdown has an out-of-bounds read in SmartypantsRenderer in github.com/gomarkdown/markdown","state":0,"publishedAt":"2026-07-24T18:35:55+00:00","modifiedAt":"2026-07-24T19:00:21.5745749+00:00","affected":[{"ecosystem":"Go","name":"github.com/gomarkdown/markdown","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.0.0-20260411013819-759bbc3e3207"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7","https://github.com/gomarkdown/markdown/commit/759bbc3e32073c3bc4e25969c132fc520eda2778"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-5208","license":"OSV · upstream source license applies","key":"osv:GO-2026-5208","identifiers":["GO-2026-5208","CVE-2026-40890","GHSA-77fj-vx54-gvh7"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-10-30T02:49:08.6617237+00:00","complete":true,"records":1764,"lastAttemptAt":"2026-10-30T02:49:08.6617237+00:00","lastSuccessAt":"2026-10-30T02:49:08.8296789+00:00","error":null,"lastVerifiedAt":"2026-10-30T02:49:08.8296797+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-7e2c4e7288f2c464ad8c61f3bb6017374714faedcc781283ac06a706ee1a820b-a9ed1cfe494f92fddb8cf6003b2df5b151f7456e4d1d2625f76ca8d81f0e234e","complete":true,"records":416814,"lastAttemptAt":"2026-10-30T02:49:08.1159624+00:00","lastSuccessAt":"2026-10-30T02:49:08.0942217+00:00","error":null,"lastVerifiedAt":"2026-10-30T02:49:08.1159624+00:00","snapshotPublishedAt":"2026-10-30T02:28:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-78c11a9a83974f69b1b02671c6960ae3","complete":false,"records":13504,"lastAttemptAt":"2026-10-30T03:01:18.2254305+00:00","lastSuccessAt":"2026-10-30T03:01:18.221+00:00","error":"7 identifier lookups failed; latest failures include HTTP 403. Other identifiers were checked independently.","lastVerifiedAt":"2026-10-30T03:01:18.221+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13242,"expectedIdentifiers":13587,"failedIdentifiers":7},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-10-30T02:49:08.6617237+00:00","complete":true,"records":1094,"lastAttemptAt":"2026-10-30T02:49:08.6617237+00:00","lastSuccessAt":"2026-10-30T02:49:08.8305166+00:00","error":null,"lastVerifiedAt":"2026-10-30T02:49:08.8305167+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-c39f89b50d5243318487ad216daf7ffb","complete":true,"records":13527,"lastAttemptAt":"2026-10-30T02:49:10.4405808+00:00","lastSuccessAt":"2026-10-29T22:50:37.74+00:00","error":null,"lastVerifiedAt":"2026-10-29T22:50:37.74+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13587,"expectedIdentifiers":13587,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-9016081e9e88f5929902343d85df87c5c4a1486b10ab07bc6c4f53f98f358871","complete":true,"records":9806,"lastAttemptAt":"2026-10-30T02:49:08.4920525+00:00","lastSuccessAt":"2026-10-29T17:17:25.9359141+00:00","error":null,"lastVerifiedAt":"2026-10-30T02:49:08.4920525+00:00","snapshotPublishedAt":"2026-10-29T16:48:29+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-2de9ccc5290f060c7aa63f89c25dd76f655a64ba1aba7c05c97fa3bee4f09899","complete":true,"records":1967,"lastAttemptAt":"2026-10-30T02:49:08.2775257+00:00","lastSuccessAt":"2026-10-28T20:55:34.2982937+00:00","error":null,"lastVerifiedAt":"2026-10-30T02:49:08.2775257+00:00","snapshotPublishedAt":"2026-10-28T20:03:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-5221f6b645588be0464ab0e16e8adfe42d1ccd8f841048d2bd4d0c1cf79fd6b1","complete":true,"records":3014,"lastAttemptAt":"2026-10-30T02:49:08.5949387+00:00","lastSuccessAt":"2026-10-30T00:54:54.6624163+00:00","error":null,"lastVerifiedAt":"2026-10-30T02:49:08.5949387+00:00","snapshotPublishedAt":"2026-10-30T00:48:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-ec5b13e78c39945726a720832da7660d2774969f16e2a34f99460c135811abd5","complete":true,"records":230948,"lastAttemptAt":"2026-10-30T02:49:08.3853349+00:00","lastSuccessAt":"2026-10-29T22:50:35.0693267+00:00","error":null,"lastVerifiedAt":"2026-10-30T02:49:08.3853349+00:00","snapshotPublishedAt":"2026-10-29T22:33:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}