CVE-2018-12495: The quoteblock function in markdown.c in libmarkdown.a in DISCOUNT 2.2.3a allows remote attackers to cause a d
CVE-2018-12495 is a medium-severity flaw (CVSS 5.5) affecting discount, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The quoteblock function in markdown.c in libmarkdown.a in DISCOUNT 2.2.3a allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted file.
Why this priority
- Public exploit reference
- On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 1.8% (top 21%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2018-06-15 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-12495?
discount: downgrade or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-12495 being exploited?
CVE-2018-12495 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-12495 affect?
CVE-2018-12495 affects discount, debian linux. Severity is medium (CVSS 5.5). The quoteblock function in markdown.c in libmarkdown.a in DISCOUNT 2.2.3a allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted file.
How urgent is CVE-2018-12495?
Priority 49/100. Public exploit reference; On your watchlist
Software pages
Related CVEs
- CVE-2018-11504 MEDIUM 5.5 DOWNGRADE MITIGATE The islist function in markdown.c in libmarkdown.a in DISCOUNT 2.2.3a allows remote attackers to cause a denia
- CVE-2018-11503 MEDIUM 5.5 DOWNGRADE MITIGATE The isfootnote function in markdown.c in libmarkdown.a in DISCOUNT 2.2.3a allows remote attackers to cause a d
- CVE-2018-11468 MEDIUM 5.5 DOWNGRADE MITIGATE The __mkd_trim_line function in mkdio.c in libmarkdown.a in DISCOUNT 2.2.3a allows remote attackers to cause a