From: Ron E <ronaldjedgerson () gmail com>
Date: Sun, 7 Sep 2025 01:41:28 -0400
FFmpeg invokes function pointers through incorrect type casting, leading to
type confusion. UndefinedBehaviorSanitizer logs mismatched signatures in
utils.c:528. Crafted inputs can cause UB, misaligned function dispatch, and
possible arbitrary code execution depending on platform ABI. (FFmpeg 7.0 –
8.0)
*Impact:*
-
DoS in normal builds.
-
Potential information disclosure or RCE under certain
compilers/architectures.
*Proof of Concept:*UBSAN_OPTIONS=print_stacktrace=1
ASAN_OPTIONS=abort_on_error=1 ./ffmpeg -i malicious.m3u8 -c copy out.mp4
*Output:*
runtime error: call to function (unknown) through pointer to incorrect
function type
_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: https://seclists.org/fulldisclosure/
Current thread:
- FFmpeg 7.0+ Type Confusion in FFmpeg Function Pointer Calls (libavformat/utils.c) Ron E (Sep 08)