This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.1 in repository ffmpeg.
commit 9a78c05ba07313b2dde8e92caf8064a268ddf1a6 Author: Michael Niedermayer <[email protected]> AuthorDate: Wed Nov 11 19:38:11 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Nov 15 21:19:57 2026 +0100 avformat/rtsp: reject CR and LF in the request URL Fixes: CRLF injection Fixes: NyyjMIh7x39e Fixes: rtsp_crlf_poc.py CRLF injection Replicated through UnModified FFmpeg with a local TCP listener Found during triage of the security report iUFdqPjbigVZ (ZDI-CAN-35984) (cherry picked from commit c77e0cea641316101e94a5404b95e1b0a0aa6ff6) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/rtsp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 9bc389c452..d455438fa5 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1481,6 +1481,8 @@ int ff_rtsp_send_cmd_with_content_async(AVFormatContext *s, if (!rt->rtsp_hd_out) return AVERROR(ENOTCONN); + if (strpbrk(url, "\r\n")) + return AVERROR(EINVAL); /* Add in RTSP headers */ out_buf = buf; -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
