Bug 2525512 - CVE-2026-18393 ffmpeg: ffmpeg: Heap buffer overflow in tdsc_load_cursor() via CUR_FMT_MONO cursor [fedora-all]
Summary: CVE-2026-18393 ffmpeg: ffmpeg: Heap buffer overflow in tdsc_load_cursor() via...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: ffmpeg
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Multimedia SIG
QA Contact:
URL:
Whiteboard: {"flaws": ["5d695958-3352-40a6-a304-d...
Depends On:
Blocks: CVE-2026-18393
TreeView+ depends on / blocked
 
Reported: 2026-08-28 09:13 UTC by Thibault Guittet
Modified: 2026-08-28 09:13 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Thibault Guittet 2026-08-28 09:13:14 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

FFmpeg contains a heap buffer overflow in libavcodec/tdsc.c, function
tdsc_load_cursor(), when processing CUR_FMT_MONO cursors. The mono path
advances dst by 4 * FFALIGN(cursor_w, 32) in the inner loops, then
incorrectly applies an additional row-end adjustment
(dst += ctx->cursor_stride - ctx->cursor_w * 4) copied from the BGRA/RGBA
branches. For cursor widths not divisible by 32, this drifts past the
allocation backing ctx->cursor. Present since the decoder's initial commit
(2015-03); fixed upstream in commit 242ff799c75f (2026-05-01), cherry-picked
to all active release branches. CWE-787.


Note You need to log in before you can comment on or make changes to this bug.