Description
L-SMASH through 2.14.5 contains a heap out-of-bounds write vulnerability in isom_read_hdlr() and isom_read_dref_entry() in core/read.c triggered by oversized box sizes. Attackers can supply crafted MP4 or MOV files declaring hdlr or url box sizes larger than remaining data, stalling the stream position and corrupting heap memory to crash applications.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| L-SMASH | L-SMASH | ≤ 2.14.5 | — |
References
- https://github.com/l-smash/l-smash/issues/112 issue-tracking
- https://github.com/l-smash/l-smash/commit/805ee3c9632e054198d3cb5b09c7b7aa36cdd791 patch
- https://github.com/l-smash/l-smash/blob/v2.14.5/core/read.c#L688-L717 technical-description
- https://github.com/l-smash/l-smash/blob/v2.14.5/core/read.c#L853-L876 technical-description
- https://hackmd.io/@haindpwn/lsmash-hdlr-dref-box-size-oob-write technical-description
- VulnCheck Advisory: L-SMASH through 2.14.5 Heap Out-of-Bounds Write via hdlr and url Boxes third-party-advisory