[FFmpeg-trac] #11696(avformat:new): WAV ≥ 4 GiB abnormal decoding due to length field overflow
FFmpeg
trac at avcodec.org
Wed Aug 13 21:59:39 EEST 2025
#11696: WAV ≥ 4 GiB abnormal decoding due to length field overflow
----------------------------------+------------------------------------
Reporter: wavybaby | Owner: (none)
Type: defect | Status: new
Priority: minor | Component: avformat
Version: 7.1 | Resolution:
Keywords: wavdec | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 1 |
----------------------------------+------------------------------------
Comment (by Marton Balint):
Replying to [comment:4 MasterQuestionable]:
> ͏ Would it be sensible to automatically apply "-ignore_length":
> ͏ https://ffmpeg.org/ffmpeg-formats.html#wav (documentation yet
incomplete)
> ͏
https://github.com/FFmpeg/FFmpeg/blob/ce01c7fb58597f525e130f47a13ff77f1db62bf4/libavformat/wavdec.c#L76
> ͏ ; for all WAV ≥ 4 GiB?
>
> ͏ Or why should this length field even be used..?
Because other chunks might follow the data chunk, and that should not be
returned as audio data.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11696#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list