Description
A weakness has been identified in Orc discount up to 3.0.1.2. This issue affects the function compile of the file markdown.c of the component Markdown Handler. This manipulation causes uncontrolled recursion. The attack is restricted to local execution. The exploit has been made available to the public and could be used for attacks. The project maintainer confirms: "[I]f you feed it an infinitely deep blockquote input it will crash. (...) [T]his is a duplicate of an old bug that I've been working on."
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Orc | discount | 3.0.1.0, 3.0.1.1, 3.0.1.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | discount | No fix yet | — |
| Debian 13 | discount | No fix yet | — |
| Debian 12 | discount | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | discount | No fix yet | — |
| Ubuntu 26.04 LTS | discount | No fix yet | — |
| Ubuntu 25.10 | discount | No fix yet | — |
| Ubuntu 24.04 LTS | discount | No fix yet | — |
| Ubuntu 22.04 LTS | discount | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | discount | No fix yet | — |
| Ubuntu 18.04 LTS | discount | No fix yet | — |
| Ubuntu 16.04 LTS | discount | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | discount | 3.0.2.0-1.1 | openSUSE-SU-2026:11786-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | discount +1 | No fix yet | — |
Advisories 1
- openSUSE-SU-2026:11786-1 discount-3.0.2.0-1.1 on GA media SUSE / openSUSE Security Updates · Sep 16, 2026
References
- VDB-353138 | Orc discount Markdown markdown.c compile recursion vdb-entry technical-description
- VDB-353138 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #775841 | Orc discount 3.0.1.2 Memory Corruption third-party-advisory
- https://github.com/Orc/discount/issues/305 issue-tracking
- https://github.com/Orc/discount/issues/305#issuecomment-4027546673 issue-tracking
- https://github.com/user-attachments/files/25847391/crash00.md exploit
- https://github.com/Orc/discount/ product