Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted markdown input
-
DeliveryParser calls psr() with attacker-controlled buffer
-
Exploitpsr() invokes lds() without end-of-buffer pointer
-
Executionlds() scans past buffer end
-
ImpactOOB read leaks adjacent memory or triggers crash
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special configuration or authentication is required. Any application that passes externally supplied markdown text to the psr() function in md.c is vulnerable, because the bounds violation is triggered by ordinary parsing of whitespace sequences near the end of a crafted input buffer. The attacker must be able to supply markdown input that reaches the parser - e.g., through a web form, API endpoint, or file upload that feeds into the library. Exploitation is limited by: (1) the attacker cannot control what memory lies beyond the buffer, limiting the utility of the read for information disclosure; (2) the library must actually be in use in a target application, which is rare given the project's obscurity; (3) crash behavior depends on memory layout and allocator implementation. |
| Impact | The CVSS 4.0 score of 6.9 with low impacts across VC, VI, and VA is consistent with a read-only memory access violation in a parsing library. AV:N/AC:L/PR:N/UI:N indicates that any application exposing markdown parsing to network-supplied input is affected without authentication or user interaction. However, the real-world risk is constrained by the product's extremely narrow deployment footprint - 92181 markdown is an obscure hobby project with no evidence of broad production adoption. There is no CISA KEV entry and no known public exploit code, making immediate widespread exploitation unlikely. The primary practical impacts are a potential crash (denial of service) or limited memory disclosure, depending on what lies beyond the buffer and how the application handles the parser's output. The 'Buffer Overflow' tag in the metadata is incorrect for a read-only OOB access; no write primitive is demonstrated. EPSS data was not provided, but the niche product footprint would predict a very low exploitation probability score. |
| Exploit ScenarioDerived | An attacker sends a crafted markdown document - specifically one constructed to position the lds() whitespace-scanning pointer at or near the end of the input buffer - to an application that passes network-supplied content to the 92181 markdown library's psr() function. Without the bounds check, lds() reads past the allocated input buffer, potentially disclosing adjacent heap or stack memory to the caller or causing a segmentation fault. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 07, 2026
Out-of-bounds read in the 92181 markdown C library's lds() function allows remote unauthenticated attackers to read memory beyond the intended buffer by supplying crafted markdown input. The flaw exists in md.c prior to commit c000d2f9cf390c315378d3717cf20911cf3e80a6, where the lds() function iterated over space characters without enforcing an end-of-buffer boundary. The CVSS 4.0 vector (6.9) reflects low confidentiality, integrity, and availability impact; no public exploit or CISA KEV listing exists at time of analysis.
RemediationAI
Apply patch commit c000d2f9cf390c315378d3717cf20911cf3e80a6, available via GitHub PR#2 at https://github.com/92181/markdown/pull/2. This commit introduces an end-of-buffer guard in the lds() function and removes the unused sn parameter, eliminating the out-of-bounds read. There is no tagged release version since the project uses rolling delivery; consumers should pin to or update past the patch commit. If immediate patching is not feasible, the compensating control is to sanitize or limit the length of markdown input before passing it to the psr() function, preventing the parser from reaching the unbounded region. Note that input length limiting does not eliminate the root cause and should be treated as a temporary measure only.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected product is a lightweight markdown parser written in C, identified by CPE cpe:2.3:a:92181:markdown:*:*:*:*:*:*:*:* and hosted at github.com/92181/markdown. The vulnerability class is CWE-125 (Out-of-Bounds Read). The internal lds() function in md.c - responsible for consuming leading whitespace during parsing - used a simple pointer-walk loop (while(b' ')) without checking whether the pointer had reached the end of the input buffer. The fix, visible in PR#2 and commit c000d2f9cf390c315378d3717cf20911cf3e80a6, changes the function signature to accept an explicit end pointer and guards the loop as while(*b<end&&b' '), enforcing the buffer boundary. The call sites in psr() were updated to pass the allocation end address (a) in place of the removed sn parameter.
Know when Markdown gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
OOB read in a network-reachable parser; no authentication or interaction needed; read-only primitive means no integrity impact, only potential memory disclosure and crash.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
A vulnerability was determined in 92181 markdown up to 058cab0cb7fb245a0ccc6b8446963ff8d573558f. Affected by this issue is the function lds of the file md.c. Executing a manipulation can lead to out-of-bounds read. The attack can be executed remotely. This product implements a rolling release for ongoing delivery, which means version information for affected or updated releases is unavailable. This patch is called c000d2f9cf390c315378d3717cf20911cf3e80a6. A patch should be applied to remediate this issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Rated high
PHP cebe markdown parser version 1.2.0 and earlier contains a Cross Site Scripting (XSS) vulnerability in all distribute
Rendering untrusted Markdown with the Go library github.com/gomarkdown/markdown while the html.Safelink hardening flag i
Python-Markdown version 3.8 contain a vulnerability where malformed HTML-like sequences can cause html.parser.HTMLParser
EUVD-2026-72359
GHSA-jvfg-5f69-7f59
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB