CVE Vulnerabilities

CVE-2016-5042

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Feb 17, 2017 | Modified: Apr 20, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
1.7 LOW
AV:L/AC:L/Au:S/C:N/I:N/A:P
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

The dwarf_get_aranges_list function in libdwarf before 20160923 allows remote attackers to cause a denial of service (infinite loop and crash) via a crafted DWARF section.

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

NameVendorStart VersionEnd Version
LibdwarfLibdwarf_project1999-12-14 (including)2016-09-23 (excluding)
DwarfutilsUbuntuesm-apps/xenial*
DwarfutilsUbuntuprecise*
DwarfutilsUbuntutrusty*
DwarfutilsUbuntuupstream*
DwarfutilsUbuntuwily*
DwarfutilsUbuntuxenial*

References