CVE-2018-5786 json
In Long Range Zip (aka lrzip) 0.631, there is an infinite loop and application hang in the get_fileinfo function (lrzip.c).
published 2018-01-19 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-17553
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
In Long Range Zip (aka lrzip) 0.631, there is an infinite loop and application hang in the get_fileinfo function (lrzip.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted lrz file.
Patch / fix
- lrzip Debian 14, Debian 13, Debian 12 0.651-2
debian advisories DEBIAN-CVE-2018-5786
- lrzip Ubuntu 18.04 LTS 0.631-1+deb9u1build0.18.04.1
- lrzip Ubuntu Pro 14.04 LTS 0.616-1ubuntu0.1~esm1
- lrzip Ubuntu Pro 16.04 LTS 0.621-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2018-5786
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/ckolivas/lrzip/issues/91 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-5786 updated cvss 3.3
lrzip: infinite loop in the get_fileinfo function in lrzip.c
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.33% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/ckolivas/lrzip/issues/91 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
github.com
/ckolivas/lrzip/issues/91
exploit, issue-tracking, patch, third-party-advisory
-
debian.org
/security/2022/dsa-5145
vendor-advisory, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/08/msg00001.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/04/msg00012.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2018-5786
- NVD CVE-2018-5786
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.