CVE-2017-12481

high
Published 2017-08-04 · Modified 2026-05-13
CVSS v3
7.8
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4 NEW
not yet in upstream
VIR risk
7.8

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.

Predictions

Exploit likelihood
75%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker · View original ↗ · DFSG

CVE-2017-12481 NameCVE-2017-12481 DescriptionThe 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. SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub…

CVE-2017-12481

NameCVE-2017-12481
DescriptionThe 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs870900

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ledger (PTS)bullseye3.2.1-7fixed
bookworm3.3.0-3fixed
trixie3.3.2-1fixed
forky3.4.0-1fixed
sid3.4.0-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ledgersource(unstable)3.1.2+dfsg1-1low870900

Notes

[stretch] - ledger <no-dsa> (Minor issue)
[jessie] - ledger <no-dsa> (Minor issue)
[wheezy] - ledger <no-dsa> (Minor issue)
http://bugs.ledger-cli.org/show_bug.cgi?id=1222
https://github.com/ledger/ledger/issues/1222
https://github.com/ledger/ledger/commit/c5343f18744d0f6fddcc590f9a54c23674d8c489

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
[stretch] - ledger <no-dsa> (Minor issue)[jessie] - ledger <no-dsa> (Minor issue)[wheezy] - ledger <no-dsa> (Minor issue)http://bugs.ledger-cli.org/show_bug.cgi?id=1222https://github.com/ledger/ledger/issues/1222https://github.com/ledger/ledger/commit/c5343f18744d0f6fddcc590f9a54c23674d8c489

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 3.1.2+dfsg1-1
sid Fixed 3.1.2+dfsg1-1
forky Fixed 3.1.2+dfsg1-1
bullseye Fixed 3.1.2+dfsg1-1
bookworm Fixed 3.1.2+dfsg1-1

Application impact

VendorProductVersionsFixed
ledger-cliledger3.1.1

References

CWEs

CWE-119

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.