{"id":"CVE-2018-5786","aliases":["DEBIAN-CVE-2018-5786","DLA-2981-1","DSA-5145-1","EUVD-2018-17553","GHSA-7mxv-pr28-272f","UBUNTU-CVE-2018-5786","USN-5171-1","USN-5171-2","USN-5840-1"],"status":"published","title":"In Long Range Zip (aka lrzip) 0.631, there is an infinite loop and application hang in the...","description":"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.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01327,"percentile":0.71178,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-835"],"published":"2018-01-19T08:00:00Z","modified":"2026-10-23T18:03:07Z","fixes":[{"ecosystem":"Debian:12","package":"lrzip","fixed_in":["0.651-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"lrzip","fixed_in":["0.651-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"lrzip","fixed_in":["0.651-2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"lrzip","fixed_in":["0.616-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"lrzip","fixed_in":["0.621-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"lrzip","fixed_in":["0.631-1+deb9u1build0.18.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.651-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.651-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.651-2"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.631-1+deb9u2"}]}],"versions":["0.631-1","0.631-1+deb9u1"],"bundled":5},{"source":"osv","ecosystem":"Debian:10","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.631+git180528-1+deb10u1"}]}],"versions":["0.631+git180528-1"],"bundled":3},{"source":"osv","ecosystem":"Debian:11","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.641-1+deb11u1"}]}],"versions":["0.641-1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.616-1ubuntu0.1~esm1"}]}],"versions":["0.608-2","0.616-1","0.616-1ubuntu0.1~esm"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.621-1ubuntu0.1~esm1"}]}],"versions":["0.621-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.631-1+deb9u1build0.18.04.1"}]}],"versions":["0.631-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.631-1+deb9u1build0.18.04.1"}]}],"versions":["0.631-1"],"bundled":10},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.616-1ubuntu0.1~esm1"}]}],"versions":["0.608-2","0.616-1","0.616-1ubuntu0.1~esm"],"bundled":10},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.621-1ubuntu0.1~esm1"}]}],"versions":["0.621-1"],"bundled":10},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.616-1ubuntu0.1~esm2"}]}],"versions":["0.608-2","0.616-1","0.616-1ubuntu0.1~esm","0.616-1ubuntu0.1~esm1"],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.621-1ubuntu0.1~esm2"}]}],"versions":["0.621-1","0.621-1ubuntu0.1~esm1"],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.631-1+deb9u3build0.18.04.1"}]}],"versions":["0.631-1","0.631-1+deb9u1build0.18.04.1"],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.631+git180528-1+deb10u1build0.20.04.1"}]}],"versions":["0.631+git180528-1","0.631+git180528-1build1"],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"lrzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.651-2ubuntu0.22.04.1"}]}],"versions":["0.641-1","0.651-2"],"bundled":6}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"long_range_zip_project","product":"long_range_zip"}],"references":[{"url":"https://github.com/ckolivas/lrzip/issues/91","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/08/msg00001.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/04/msg00012.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5145","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5786"},{"url":"https://github.com/advisories/GHSA-7mxv-pr28-272f"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-5786","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-5786","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5171-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-5786","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5171-2","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5840-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-8844","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-8846","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-9928","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-9929","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-5650","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-5747","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-9058","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-10685","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-11496","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-25467","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-27345","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-27347","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-26291","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-28044","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-5786","description":"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.","status":"published","published":"2018-01-19T08:00:00Z","modified":"2024-08-05T05:47:55.977Z","updated_at":"2026-11-02T14:35:00.948726Z"}],"euvd":[{"id":"EUVD-2018-17553","description":"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.","status":"published","published":"2018-01-19T08:00:00Z","modified":"2024-08-05T05:47:55Z","updated_at":"2026-11-03T02:40:10.116776Z"}],"ghsa":[{"id":"GHSA-7mxv-pr28-272f","title":"In Long Range Zip (aka lrzip) 0.631, there is an infinite loop and application hang in the...","description":"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.","status":"published","published":"2022-04-30T00:02:20Z","modified":"2023-01-30T05:04:17Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:47:00.827412Z"}],"nvd":[{"id":"CVE-2018-5786","description":"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.","status":"published","published":"2018-01-19T08:29:00.413Z","modified":"2026-06-17T02:00:46.697Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:04:22.309028Z"}],"osv":[{"id":"CVE-2018-5786","description":"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.","status":"published","published":"2018-01-19T08:29:00.413Z","modified":"2026-10-20T10:50:27.904316602Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:09.442568Z"},{"id":"DEBIAN-CVE-2018-5786","description":"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.","status":"published","published":"2018-01-19T08:29:00.413Z","modified":"2026-10-23T18:03:07.246796437Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"UBUNTU-CVE-2018-5786","description":"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.","status":"published","published":"2018-01-19T08:29:00Z","modified":"2026-02-04T03:09:51.632309Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"},{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:18.33562Z"},{"id":"DLA-2981-1","title":"lrzip - security update","status":"published","published":"2022-04-13T00:00:00Z","modified":"2026-03-09T01:23:11.684119Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"DSA-5145-1","title":"lrzip - security update","status":"published","published":"2022-05-24T00:00:00Z","modified":"2026-03-09T02:09:15.971317Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"USN-5171-1","title":"lrzip vulnerabilities","description":"It was discovered that Long Range ZIP incorrectly handled certain\nspecially crafted lrz files. A remote attacker could possibly use this\nissue to cause a denial of service (crash) or other unspecified impact.\n","status":"published","published":"2021-12-06T12:51:27Z","modified":"2026-02-10T04:42:24Z","updated_at":"2026-11-02T16:58:15.683829Z"},{"id":"USN-5171-2","title":"lrzip vulnerabilities","description":"USN-5171-1 fixed vulnerabilities in Long Range ZIP.\nThis update provides the corresponding updates for Ubuntu 14.04 ESM and\nUbuntu 16.04 ESM.\n\nOriginal advisory details:\n\n It was discovered that Long Range ZIP incorrectly handled certain\n specially crafted lrz files. A remote attacker could possibly use this\n issue to cause a denial of service (crash) or other unspecified impact.\n","status":"published","published":"2021-12-09T11:27:22Z","modified":"2026-06-29T13:49:35.416798337Z","updated_at":"2026-11-02T16:58:15.683829Z"},{"id":"USN-5840-1","title":"lrzip vulnerabilities","description":"It was discovered that Long Range ZIP incorrectly handled pointers. If \na user or an automated system were tricked into opening a certain \nspecially crafted ZIP file, an attacker could possibly use this issue\nto cause a denial of service. This issue only affected Ubuntu 14.04 ESM,\nUbuntu 16.04 ESM, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. (CVE-2020-25467)\n\nIt was discovered that Long Range ZIP incorrectly handled pointers. If \na user or an automated system were tricked into opening a certain \nspecially crafted ZIP file, an attacker could possibly use this issue \nto cause a denial of service. This issue only affected Ubuntu 18.04 LTS\nand Ubuntu 20.04 LTS. (CVE-2021-27345, CVE-2021-27347)\n\nIt was discovered that Long Range ZIP incorrectly handled pointers. If \na user or an automated system were tricked into opening a certain \nspecially crafted ZIP file, an attacker could possibly use this issue\nto cause a denial of service. This issue only affected Ubuntu 16.04 ESM,\nUbuntu 18.04 LTS, and Ubuntu 20.04 LTS. (CVE-2022-26291)\n\nIt was discovered that Long Range ZIP incorrectly handled memory allocation, \nwhich could lead to a heap memory corruption. An attacker could possibly use\nthis issue to cause denial of service. This issue affected Ubuntu 14.04 ESM,\nUbuntu 16.04 ESM, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and \nUbuntu 22.10. (CVE-2022-28044)\n","status":"published","published":"2023-02-02T13:36:09Z","modified":"2026-06-29T13:50:46.347622385Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
