Bug 2582313 (CVE-2026-135706)

Summary: CVE-2026-135706 ffmpeg: ffmpeg: Arbitrary code execution via heap buffer overflow in ModPlug demuxer
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bbrownin
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in FFmpeg. A heap-based buffer overflow in the ModPlug demuxer component allows an attacker to cause arbitrary code execution, application crashes, or Denial of Service (DoS). By enticing a user or automated process to handle a specially crafted module audio file, an attacker can trigger memory corruption when data is written into an undersized memory buffer.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2583044, 2583045, 2583046, 2583047, 2583048, 2583049, 2583050, 2583051    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-24 03:23:22 UTC
FFmpeg before 9.1 contains a heap buffer overflow vulnerability in modplug_read_header() in libavformat/libmodplug.c that allocates the buffer using max_size instead of sz. When max_size is set to 0, attackers can supply crafted module files that avio_read() copies into a zero-sized buffer, causing memory corruption, crashes, or possible code execution.