The ledger::parse_date_mask_routine function in times.cc in Ledger 3.1.1 allows remote attackers to cause a denial of service (stack-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted file.
https://security.gentoo.org/glsa/202004-05
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00029.html
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00031.html