Отправить #775841: Orc discount 3.0.1.2 Memory CorruptionИнформация

НазваниеOrc discount 3.0.1.2 Memory Corruption
ОписаниеA stack-buffer-overflow (stack exhaustion) vulnerability exists in the markdown parsing logic of discount. When processing a maliciously crafted markdown file with excessively nested structures, the compile() function inside markdown.c falls into an uncontrolled deep recursion. This ultimately exhausts the process stack space, causing the application to crash with a DEADLYSIGNAL (Segmentation Fault). Trigger Condition: The program falls into an excessively deep recursion within the compile() function in markdown.c (line 1445). ./markdown -G crash00.md Point of Crash: Deep within the recursion stack, compile() invokes the Pp() function (line 1443). Subsequently, Pp() attempts to allocate memory via calloc (line 1214), which triggers a stack-overflow exception caught by AddressSanitizer. https://github.com/Orc/discount/issues/305
Источник⚠️ https://github.com/Orc/discount/issues/305
Пользователь
 MTHG (UID 83728)
Представление09.03.2026 17:19 (7 месяцы назад)
Модерация25.03.2026 15:19 (16 days later)
Статуспринято
Запись VulDB353138 [Orc discount до 3.0.1.2 Markdown markdown.c compile отказ в обслуживании]
Баллы20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!