CVE-2026-132857
Description
A flaw was found in the flac command-line encoder. When re-encoding a specially crafted FLAC file carrying a very large number of metadata blocks, supplying multiple --picture options causes the encoder to write past the end of a fixed-size buffer on the stack, corrupting its internal state and crashing the process. This issue can be triggered only when a user runs the flac command-line tool with --picture options on an untrusted input file; the demonstrated impact is a crash of the encoding process.
Statement
This vulnerability is rated as having Moderate impact because exploitation requires a user to run the flac command-line encoder with one or more --picture options on a specially crafted FLAC input file, and the demonstrated impact is a crash of the encoding process. No impact on confidentiality or integrity has been demonstrated. Typical Red Hat Enterprise Linux workflows do not invoke the flac command-line tool with --picture options on untrusted input files.
Mitigation
Avoid using the --picture option of the flac command-line encoder when processing FLAC files from untrusted sources. Without --picture options the metadata block array cannot be overrun, as the decoder rejects inputs carrying more than 1024 metadata blocks.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.5 | N/A | N/A |
| Attack Vector | Local | N/A | N/A |
| Attack Complexity | Low | N/A | N/A |
| Privileges Required | None | N/A | N/A |
| User Interaction | Required | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | None | N/A | N/A |
| Integrity Impact | None | N/A | N/A |
| Availability Impact | High | N/A | N/A |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Red Hat CVSS v3 Score Explanation
Crash-only impact demonstrated (deterministic SIGSEGV of the encoding process). C:N/I:N: no disclosure or data-modification mechanism demonstrated; the out-of-bounds writes store heap pointers to clones of the victim's own --picture options, not attacker-chosen data, and RCE was not demonstrated (512-byte overrun cap, PIE/RELRO/NX). Exploitation requires the user to re-encode an attacker-crafted FLAC input with >=3 --picture options.
Understanding the Weakness (CWE)
Availability
Technical Impact: Modify Memory; DoS: Crash, Exit, or Restart; DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory)
Buffer overflows generally lead to crashes. Other attacks leading to lack of availability are possible, including putting the program into an infinite loop.
Integrity,Confidentiality,Availability,Access Control
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands; Bypass Protection Mechanism
Buffer overflows often can be used to execute arbitrary code, which is usually outside the scope of a program's implicit security policy.
Integrity,Confidentiality,Availability,Access Control,Other
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands; Bypass Protection Mechanism; Other
When the consequence is arbitrary code execution, this can often be used to subvert any other security service.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.