CVE-2017-12481 Memory corruption in n/a

High 7.8 Published Updated

A stack-based buffer overflow in Ledger allows remote attackers to cause a denial of service or potentially execute code via a crafted file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-12481?

CVE-2017-12481 is a high-severity memory corruption vulnerability in n/a, published on 4 Aug 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

The find_option function in option.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.

Weakness: CWE-119

Which versions are affected by CVE-2017-12481?

It affects 1 product.

Products include Ledger-Cli Ledger.

How do I fix CVE-2017-12481?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-12481 being exploited?

There is no known exploitation of CVE-2017-12481 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2017-12481, GHSA-5fcm-3wm8-28vv, UBUNTU-CVE-2017-12481.

Is CVE-2017-12481 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free