Cloudanix VulnDB

CVE-2014-8962

None

CVSS

—

EPSS

9.9%

Published

Nov 26, 2014

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in music-file handling software lets attackers take over a computer simply by getting it to open a specially made audio file.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Remote Code Execution
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Stack-based buffer overflow in stream_decoder.c allows remote code execution when processing a crafted .flac file.

Why it matters to the business

Attackers can achieve arbitrary code execution on any system that decodes untrusted FLAC audio files, enabling malware deployment, data theft, or lateral movement across media-processing environments; high ecosystem prevalence in audio tools and players increases exposure for organizations handling media content.

How an attack unfolds

An attacker creates a malformed FLAC file that triggers the buffer overflow in the decoder; when a victim application processes the file, control flow is hijacked to execute attacker-supplied code.

How to fix it

Upgrade libFLAC to version 1.3.1 or later on all affected systems and rebuild dependent applications against the fixed library.

How to confirm the fix worked

Verify installed libFLAC version is 1.3.1 or newer; test decoding of known-malformed test files in a sandbox and confirm absence of crashes or unexpected execution.

Typical attack path

  1. Craft a malicious .flac file containing oversized metadata or frame data
  2. Deliver the file via email, web download, or shared storage
  3. Victim application or library processes the file using vulnerable libFLAC
  4. Buffer overflow occurs and attacker payload executes

How to detect it

Search application and system logs for abnormal FLAC decoding attempts, segmentation faults, or crashes in libFLAC-linked processes; review file-access logs for recently introduced .flac files from untrusted sources.

What your security team should do

  • Immediately update all instances of libFLAC to 1.3.1 or newer
  • Inventory and replace any embedded or statically linked copies of the library
  • Restrict processing of untrusted FLAC files where feasible
  • Monitor for decoder crashes or unexpected process behavior

The record

Stack-based buffer overflow in stream_decoder.c in libFLAC before 1.3.1 allows remote attackers to execute arbitrary code via a crafted .flac file.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 flac 0 1.3.0-3
Debian:12 flac 0 1.3.0-3
Debian:13 flac 0 1.3.0-3
Debian:6.0 flac 0 1.2.1-2+deb6u1
Debian:7 flac 0 1.2.1-6+deb7u1
Mageia:4 flac 0 1.3.0-2.1.mga4
Red Hat:enterprise_linux:6::client flac 0 0:1.2.1-7.el6_6
Red Hat:enterprise_linux:6::client flac-debuginfo 0 0:1.2.1-7.el6_6
Red Hat:enterprise_linux:6::client flac-devel 0 0:1.2.1-7.el6_6
Red Hat:enterprise_linux:6::computenode flac 0 0:1.2.1-7.el6_6
Red Hat:enterprise_linux:6::computenode flac-debuginfo 0 0:1.2.1-7.el6_6
Red Hat:enterprise_linux:6::computenode flac-devel 0 0:1.2.1-7.el6_6
Red Hat:enterprise_linux:6::server flac 0 0:1.2.1-7.el6_6
Red Hat:enterprise_linux:6::server flac-debuginfo 0 0:1.2.1-7.el6_6
Red Hat:enterprise_linux:6::server flac-devel 0 0:1.2.1-7.el6_6
Red Hat:enterprise_linux:6::workstation flac 0 0:1.2.1-7.el6_6
Red Hat:enterprise_linux:6::workstation flac-debuginfo 0 0:1.2.1-7.el6_6
Red Hat:enterprise_linux:6::workstation flac-devel 0 0:1.2.1-7.el6_6
Red Hat:enterprise_linux:7::client flac 0 0:1.3.0-5.el7_1
Red Hat:enterprise_linux:7::client flac-debuginfo 0 0:1.3.0-5.el7_1
Red Hat:enterprise_linux:7::client flac-devel 0 0:1.3.0-5.el7_1
Red Hat:enterprise_linux:7::client flac-libs 0 0:1.3.0-5.el7_1
Red Hat:enterprise_linux:7::computenode flac 0 0:1.3.0-5.el7_1
Red Hat:enterprise_linux:7::computenode flac-debuginfo 0 0:1.3.0-5.el7_1
Red Hat:enterprise_linux:7::computenode flac-devel 0 0:1.3.0-5.el7_1
Red Hat:enterprise_linux:7::computenode flac-libs 0 0:1.3.0-5.el7_1
Red Hat:enterprise_linux:7::server flac 0 0:1.3.0-5.ael7b_1
Red Hat:enterprise_linux:7::server flac-debuginfo 0 0:1.3.0-5.ael7b_1
Red Hat:enterprise_linux:7::server flac-devel 0 0:1.3.0-5.ael7b_1
Red Hat:enterprise_linux:7::server flac-libs 0 0:1.3.0-5.ael7b_1
Red Hat:enterprise_linux:7::workstation flac 0 0:1.3.0-5.el7_1
Red Hat:enterprise_linux:7::workstation flac-debuginfo 0 0:1.3.0-5.el7_1
Red Hat:enterprise_linux:7::workstation flac-devel 0 0:1.3.0-5.el7_1
Red Hat:enterprise_linux:7::workstation flac-libs 0 0:1.3.0-5.el7_1
Ubuntu:14.04:LTS flac 0 1.3.0-2ubuntu0.14.04.1
openSUSE:Tumbleweed flac 0 1.3.1-3.1

Related vulnerabilities