Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-12495

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-12495
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:03 UTC · Revision 1

Source evidence

CVE-2018-12495

core-osv · Original source

Published 15 Jun 2018, 18:29 UTC

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.

osv:CVE-2018-12495
Complete source record
{
  "id": "5df3912f3ac63b63f1b1e4f98b0fec8918722c2185f9bd04728c5ef4e48b2330",
  "url": "https://osv.dev/vulnerability/CVE-2018-12495",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-12495",
    "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.",
    "evidence": "osv:CVE-2018-12495",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-12495",
      "aliases": [
        "CVE-2018-12495"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/orc/discount",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9e9d5158735d7401296ecd28515e9dbef831e4e1"
                },
                {
                  "last_affected": "9e9d5158735d7401296ecd28515e9dbef831e4e1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:discount_project:discount:2.2.3:a:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.3-a"
                      },
                      {
                        "last_affected": "2.2.3-a"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.2.3-a",
            "v2.2.3a"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12495.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:46.415327115Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2018/09/msg00009.html",
        "https://www.debian.org/security/2018/dsa-4293",
        "https://github.com/Orc/discount/issues/189#issuecomment-397541501"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-12495",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380788,
  "published_at": "2018-06-15T18:29:00.433+00:00"
}