An improper array index validation vulnerability exists in the GraphPlanar::Write functionality of Diagon v1.0.139. A specially crafted markdown file can lead to memory corruption. A victim would need to open a malicious file to trigger this vulnerability.
https://www.talosintelligence.com/vulnerability_reports/TALOS-2023-1745
https://talosintelligence.com/vulnerability_reports/TALOS-2023-1745