DescriptionAn exploitable use-after-free vulnerability exists in the account parsing component of the Ledger-CLI 3.1.1. A specially crafted ledger file can cause a use-after-free vulnerability resulting in arbitrary code execution. An attacker can convince a user to load a 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 Bugs876659

Vulnerable and fixed packages

The table below lists information on source packages.

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

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