CVE catalog

CVE-2018-12495

discount: CVE-2018-12495

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.82% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiandiscountsid2.2.7-2.1fixed
Debiandiscountforky2.2.7-2.1fixed
Debiandiscounttrixie2.2.7-2.1fixed
Debiandiscountbookworm2.2.7-2fixed
Ubuntudiscount14.042.1.6-2vulnerable
Ubuntudiscount14.042.1.7-1vulnerable
Ubuntudiscount14.042.1.7-1+deb8u1build0.14.04.1fixed
Ubuntudiscount16.042.1.8-2vulnerable
Ubuntudiscount18.042.1.8-2vulnerable
Ubuntudiscount18.042.2.3b8-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiandiscountsourcesid2.2.4-1not yet assignedNot reported[901912]
Debiandiscountsourceforky2.2.4-1not yet assignedNot reported[901912]
Debiandiscountsourcetrixie2.2.4-1not yet assignedNot reported[901912]
Debiandiscountsourcebookworm2.2.4-1not yet assignedNot reported[901912]
Ubuntudiscountdeb14.042.1.7-1+deb8u1build0.14.04.1Not reportedUBUNTU-CVE-2018-12495Not reported

[Debian bug #901912]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [discount]Fixed
    Details (2)
    • 2.2.7-2 · amd64 · bookworm

      Fixed · Fixed: 2.2.4-1

      dsa · discount · debian · bookworm; dsa · discount · debian · 12

    • 2.2.7-2 · arm64 · bookworm

      Fixed · Fixed: 2.2.4-1

      dsa · discount · debian · bookworm; dsa · discount · debian · 12

  • Source package: [discount]

    Details (2)
    • 2.2.7-2 · amd64 · bookworm

      Fixed · Fixed: 2.2.4-1

      dsa · discount · debian · bookworm; dsa · discount · debian · 12

    • 2.2.7-2 · arm64 · bookworm

      Fixed · Fixed: 2.2.4-1

      dsa · discount · debian · bookworm; dsa · discount · debian · 12

  • Source package: [discount]

    Details (2)
    • 2.2.7-2 · amd64 · bookworm

      Fixed · Fixed: 2.2.4-1

      dsa · discount · debian · bookworm; dsa · discount · debian · 12

    • 2.2.7-2 · arm64 · bookworm

      Fixed · Fixed: 2.2.4-1

      dsa · discount · debian · bookworm; dsa · discount · debian · 12

[Debian 13 (Trixie)]

  • [discount]Fixed
    Details (2)
    • 2.2.7-2.1 · amd64 · trixie

      Fixed · Fixed: 2.2.4-1

      dsa · discount · debian · 13

    • 2.2.7-2.1 · arm64 · trixie

      Fixed · Fixed: 2.2.4-1

      dsa · discount · debian · 13

  • Source package: [discount]

    Details (2)
    • 2.2.7-2.1 · amd64 · trixie

      Fixed · Fixed: 2.2.4-1

      dsa · discount · debian · 13

    • 2.2.7-2.1 · arm64 · trixie

      Fixed · Fixed: 2.2.4-1

      dsa · discount · debian · 13

  • Source package: [discount]

    Details (2)
    • 2.2.7-2.1 · amd64 · trixie

      Fixed · Fixed: 2.2.4-1

      dsa · discount · debian · 13

    • 2.2.7-2.1 · arm64 · trixie

      Fixed · Fixed: 2.2.4-1

      dsa · discount · debian · 13

Observed:

References