Cloudanix VulnDB

CVE-2017-9742

High · 7.8

CVSS

7.8

EPSS

8.1%

Published

Jun 19, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A tool used to inspect program files can be tricked by a specially made file into crashing or letting an attacker take over the computer if someone opens that file with the tool.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Full Compromise
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Buffer overflow in score_opcodes within the SCORE7 disassembler when processing a maliciously crafted binary, leading to memory corruption and potential arbitrary code execution or crash during objdump -D or similar operations.

Why it matters to the business

Developers and analysts using affected binutils packages risk tool crashes or full system compromise when examining untrusted binaries; the flaw has been public for years with available exploits, increasing exposure for any downstream build or reverse-engineering pipelines that have not upgraded.

How an attack unfolds

An attacker creates a specially malformed binary file that triggers the vulnerable SCORE7 opcode handler, then social-engineers or automates a victim into running objdump -D or equivalent analysis; the resulting overflow can be leveraged for code execution because the exploit is publicly available.

How to fix it

Upgrade request-1279-1-14 and request-1279-1-14-compat packages to version 1.14.1-r1 or later; rebuild any dependent images or containers and verify the new binutils version is in use before reprocessing untrusted binaries.

How to confirm the fix worked

Confirm package versions match the fixed releases, run objdump -D against known-bad test binaries in an isolated environment, and monitor for crashes or unexpected memory behavior during disassembly.

Typical attack path

  1. Craft malicious SCORE7 binary that overflows the opcode buffer
  2. Deliver the file to a target environment (email, repo, build artifact)
  3. Victim executes objdump -D or automated analysis pipeline on the file
  4. Overflow corrupts memory and executes attacker-controlled code or crashes the process

How to detect it

Search process execution logs and command history for objdump invocations against files with unusual sizes or entropy; look for segmentation faults or memory corruption signals in crash reports shortly after binary analysis tasks.

What your security team should do

  • Immediately upgrade all listed Chainguard packages to the stated fixed versions
  • Scan build pipelines and developer workstations for older binutils instances
  • Add untrusted binary analysis to isolated or sandboxed environments only
  • Review and update any automated objdump or disassembly jobs to use patched versions

The record

The score_opcodes function in opcodes/score7-dis.c in GNU Binutils 2.28 allows remote attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted binary file, as demonstrated by mishandling of this file during "objdump -D" execution.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 binutils 0 2.29-1
Debian:11 binutils 0 2.29-1
Debian:12 binutils 0 2.29-1
Debian:13 binutils 0 2.29-1
Ubuntu:18.04:LTS binutils 0 2.30-21ubuntu1~18.04.1
Ubuntu:20.04:LTS binutils 0 2.34-6ubuntu1
Ubuntu:22.04:LTS binutils 0 2.38-2ubuntu1
Ubuntu:Pro:14.04:LTS binutils 0 2.24-5ubuntu14.2+esm2
Ubuntu:Pro:16.04:LTS binutils 0 2.26.1-1ubuntu1~16.04.8+esm1

Related vulnerabilities