Distro News

Speex codec vulnerability fixed in Ubuntu via CVE-2026-116741

Key Takeaway

A buffer handling error in the Speex codec allows for potential denial of service or arbitrary code execution via specially crafted input.

Summary

Ubuntu has released security updates to address a vulnerability in the Speex audio codec library, identified as CVE-2026-116741. The flaw involves incorrect handling of oversized input during data appending operations to bit buffers that are not owned by the library.

This security issue affects multiple Ubuntu releases, including 22.04 LTS, 24.04 LTS, 26.04 LTS, and 26.10. Users running applications that utilize libspeex1 are potentially vulnerable to crashes or unauthorized code execution if they process malicious audio data.

Technical details of CVE-2026-116741

  • Defect Class: The vulnerability is an improper handling of oversized input when appending data to a bit buffer.
  • Attack Vector: An attacker can provide specially crafted input to trigger the flaw, which may lead to a denial of service (crash) or arbitrary code execution under the user's privileges.
  • Affected Component: The issue specifically resides in the libspeex1 package used by the Speex codec command line tools and library.
  • Fixed Versions: Patches have been deployed for libspeex1 across Ubuntu 26.10 (1.2.1-3ubuntu0.26.10.1), 26.04 (1.2.1-3ubuntu0.26.04.1), 24.04 (1.2.1-2ubuntu2.24.04.2), and 22.04 (1.2~rc1.2-1.1ubuntu3.1).

Why it matters

Because Speex is a widely used open-source audio codec, this vulnerability impacts any Linux-based system or application that processes Speex-encoded streams. System administrators should prioritize updating libspeex1 to prevent potential remote or local exploitation through malicious media files.

Original reference: ubuntu.com →