Use After Free Affecting ledger package, versions <3.1.2+dfsg1-1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.71% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2610-LEDGER-21184926
  • published18 Oct 2026
  • disclosed5 Sept 2017

Introduced: 5 Sep 2017

CVE-2017-2808  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Ubuntu:26.10 ledger to version 3.1.2+dfsg1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ledger package and not the ledger package as distributed by Ubuntu. See How to fix? for Ubuntu:26.10 relevant fixed versions and status.

An 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.