DescriptionAn exploitable buffer overflow vulnerability exists in the tag parsing functionality of Ledger-CLI 3.1.1. A specially crafted journal file can cause an integer underflow resulting in code execution. An attacker can construct a malicious journal file to trigger this vulnerability.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs876660

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ledger (PTS)stretch3.1.2~pre1+g3a00e1c+dfsg1-2vulnerable
bookworm, bullseye, sid3.2.1-7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[stretch] - ledger <no-dsa> (Minor issue)
[jessie] - ledger <no-dsa> (Minor issue)
[wheezy] - ledger <no-dsa> (Minor issue)

Search for package or bug name: Reporting problems