Skip to content
Fencer Intel
medium 5.5

CVE-2018-12495 json

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…

published 8y ago modified 4mo ago also EUVD-2018-4465

cvss
5.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.8%
EPSS 1.8% chance of exploitation in 30 days, percentile 78%
public exploits
0
none known

Summary

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.

Patch / fix

  • discount Debian 14, Debian 13, Debian 12 2.2.4-1

debian advisories DEBIAN-CVE-2018-12495

  • discount Ubuntu 14.04 LTS 2.1.7-1+deb8u1build0.14.04.1

ubuntu advisories UBUNTU-CVE-2018-12495

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • discount openSUSE Tumbleweed 2.2.7-1.3
  • discount Package Hub 15, openSUSE Leap 15.0 2.2.4-bp150.3.3.1

opensuse advisories openSUSE-SU-2024:10718-1openSUSE-SU-2019:0019-1

Is CVE-2018-12495 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-12495 updated cvss 4.4

discount: heap-based buffer over-read via a crafted file

  • Red Hat Enterprise Linux 8 libmarkdown
    affected: no fix planned “Will not fix”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.82% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/Orc/discount/issues/189#issuecomment-397541501 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.