CVE-2017-7609
Medium · 5.5CVSS
5.5
EPSS
1.6%
Published
Apr 9, 2017
CISA due date
—
Cloudanix analysis
A problem in a file-handling library can let specially made files cause programs to use up too much memory and stop responding.
- 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 library fails to validate the zlib compression factor during ELF file processing, allowing unbounded memory allocation during decompression.
Why it matters to the business
Services that parse untrusted ELF files can experience crashes or resource exhaustion, interrupting monitoring agents and related data collection pipelines; the issue affects widely distributed packages with available updates.
How an attack unfolds
An attacker creates a crafted ELF file containing an extreme or malicious zlib compression factor and supplies it to a vulnerable process or user that invokes the affected elfutils code path, resulting in denial of service through memory consumption.
How to fix it
Upgrade newrelic-nri-statsd on Chainguard and Wolfi to version 2.9.1-r1 or later; rebuild or redeploy any dependent containers after the package update.
How to confirm the fix worked
Confirm installed package versions meet or exceed the fixed releases; attempt to process a known test ELF file that exercises the compression path and verify memory usage remains bounded.
Typical attack path
- Craft ELF file with invalid zlib compression factor
- Deliver file to target environment via local filesystem or application input
- Trigger processing by the vulnerable library (requires local access and user interaction)
- Induce excessive memory allocation leading to exhaustion
How to detect it
Review system and application logs for sudden spikes in memory usage during ELF file operations; correlate with process crashes or restarts in affected components.
What your security team should do
- Apply the listed package updates to reach fixed versions without delay
- Inventory all uses of elfutils or dependent ELF parsers that accept untrusted input
- Add resource limits and monitoring around processes that handle ELF files
The record
elf_compress.c in elfutils 0.168 does not validate the zlib compression factor, 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 |
| Mageia:5 | elfutils | 0 | 0.169-1.mga5 |
| Mageia:6 | elfutils | 0 | 0.176-1.mga6 |
| 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 |
| Ubuntu:14.04:LTS | elfutils | 0 | 0.158-0ubuntu5.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-7613 elflint.c in elfutils 0.168 does not validate the number of sections and the number of… Also affects elfutils