Buffer Overflow Vulnerability in MP4Box's diST_box_read() Function

Buffer Overflow Vulnerability in MP4Box's diST_box_read() Function

CVE-2022-1441 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

MP4Box is a component of GPAC-2.0.0, which is a widely-used third-party package on RPM Fusion. When MP4Box tries to parse a MP4 file, it calls the function `diST_box_read()` to read from video. In this function, it allocates a buffer `str` with fixed length. However, content read from `bs` is controllable by user, so is the length, which causes a buffer overflow.

Learn more about our User Device Pen Test.