CVE-2017-7613
Medium · 5.5CVSS
5.5
EPSS
1.7%
Published
Apr 9, 2017
CISA due date
—
Cloudanix analysis
A problem in a common tool for checking program files lets attackers feed it specially made files that can use up all available memory and crash the system.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw in elfutils 0.168 permits a crafted ELF file with excessively large section or segment counts to bypass validation in elflint.c, resulting in unbounded memory allocation and denial of service.
Why it matters to the business
Processing of untrusted binaries can exhaust system memory on build, analysis, or packaging systems, causing service disruption and requiring manual intervention; the packages listed show fixes at version 0 indicating the dependency has been removed or mitigated.
How an attack unfolds
An attacker creates an ELF binary containing extremely high numbers of sections and segments, then supplies the file to any workflow that invokes elfutils tools for inspection; the missing bounds check triggers rapid memory growth until the process or host becomes unresponsive. Public exploit code has been available for years, though no named threat actors or ransomware campaigns are associated.
How to fix it
Upgrade elfutils to a patched release that enforces section and segment count limits. The affected temporal-ui-server packages are listed as fixed in version 0, confirming the vulnerable component is no longer present.
How to confirm the fix worked
Verify the installed elfutils version is newer than 0.168 and test parsing with a known-bad ELF sample that previously triggered high allocation; confirm memory usage remains bounded.
Typical attack path
- Generate a malicious ELF file with inflated section and segment counts
- Place the file in a location processed by elfutils-dependent tooling
- Trigger parsing via elflint or equivalent utility on the crafted binary
- Observe memory exhaustion leading to process or system failure
How to detect it
Review system and application logs for elfutils processes terminating with out-of-memory errors or exhibiting rapid memory growth when handling ELF inputs; correlate with file ingestion timestamps.
What your security team should do
- Remove or update any remaining elfutils 0.168 installations across build and CI environments
- Restrict processing of untrusted ELF files to isolated sandboxes
- Monitor memory metrics for sudden spikes during binary analysis tasks
The record
elflint.c in elfutils 0.168 does not validate the number of sections and the number of segments, which allows remote attackers to cause a denial of service (memory consumption) via a crafted ELF file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | elfutils | 0 | 0.168-1 |
| Debian:12 | elfutils | 0 | 0.168-1 |
| Debian:13 | elfutils | 0 | 0.168-1 |
| Debian:8 | elfutils | 0 | 0.159-4.2+deb8u1 |
| Mageia:5 | elfutils | 0 | 0.169-1.mga5 |
| Mageia:6 | elfutils | 0 | 0.176-1.mga6 |
| SUSE:Linux Enterprise Desktop 12 SP3 | elfutils | 0 | 0.158-7.7.2 |
| SUSE:Linux Enterprise Desktop 12 SP4 | elfutils | 0 | 0.158-7.7.2 |
| SUSE:Linux Enterprise Micro 5.1 | dwarves | 0 | 1.22-150300.7.3.1 |
| SUSE:Linux Enterprise Micro 5.1 | elfutils | 0 | 0.177-150300.11.3.1 |
| SUSE:Linux Enterprise Micro 5.2 | dwarves | 0 | 1.22-150300.7.3.1 |
| SUSE:Linux Enterprise Micro 5.2 | elfutils | 0 | 0.177-150300.11.3.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 | elfutils | 0 | 0.168-4.5.3 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP1 | elfutils | 0 | 0.168-4.5.3 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP3 | dwarves | 0 | 1.22-150300.7.3.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP3 | elfutils | 0 | 0.177-150300.11.3.1 |
| SUSE:Linux Enterprise Server 12 SP3 | elfutils | 0 | 0.158-7.7.2 |
| SUSE:Linux Enterprise Server 12 SP4 | elfutils | 0 | 0.158-7.7.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | elfutils | 0 | 0.158-7.7.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | elfutils | 0 | 0.158-7.7.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | elfutils | 0 | 0.158-7.7.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP4 | elfutils | 0 | 0.158-7.7.2 |
| Ubuntu:14.04:LTS | elfutils | 0 | 0.158-0ubuntu5.3 |
| Ubuntu:16.04:LTS | elfutils | 0 | 0.165-3ubuntu1.1 |
| Ubuntu:18.04:LTS | elfutils | 0 | 0.170-0.4 |
| openSUSE:Leap 15.0 | elfutils | 0 | 0.168-lp151.4.3.1 |
| openSUSE:Leap 15.1 | elfutils | 0 | 0.168-lp151.4.3.1 |
| openSUSE:Leap 15.3 | dwarves | 0 | 1.22-150300.7.3.1 |
| openSUSE:Leap 15.3 | elfutils | 0 | 0.177-150300.11.3.1 |
| openSUSE:Leap Micro 5.2 | dwarves | 0 | 1.22-150300.7.3.1 |
| openSUSE:Leap Micro 5.2 | elfutils | 0 | 0.177-150300.11.3.1 |
Related vulnerabilities
- CVE-2025-1377 A vulnerability, which was classified as problematic, has been found in GNU elfutils… Also affects elfutils
- CVE-2025-1376 A vulnerability classified as problematic was found in GNU elfutils 0.192. Also affects elfutils
- CVE-2025-1371 A vulnerability has been found in GNU elfutils 0.192 and classified as problematic. Also affects elfutils
- CVE-2025-1372 A vulnerability was found in GNU elfutils 0.192. Also affects elfutils
- CVE-2025-1365 A vulnerability, which was classified as critical, was found in GNU elfutils 0.192. Also affects elfutils
- CVE-2025-1352 A vulnerability has been found in GNU elfutils 0.192 and classified as critical. Also affects elfutils
- CVE-2017-7610 The check_group function in elflint.c in elfutils 0.168 allows remote attackers to cause… Also affects elfutils
- CVE-2017-7609 elf_compress.c in elfutils 0.168 does not validate the zlib compression factor, which… Also affects elfutils