Description (CNA)
L-SMASH through 2.14.5 contains a double free vulnerability in hevc_setup_first_summary() and h264_setup_first_summary() in importer/nalu_imp.c that frees borrowed codec-specific objects on error paths. Attackers can supply a crafted Annex-B elementary stream lacking a parseable SPS to lsmash_read_file() or the boxdumper, remuxer, or muxer tools, causing use-after-free, heap corruption, and crashes.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| l-smash / l-smash | affected 0 through 2.14.5 |
CWE
CWE-415
References
- https://hackmd.io/@haind-pwn/l-smash-hevc-importer-double-free
- https://github.com/l-smash/l-smash/blob/v2.14.5/importer/nalu_imp.c#L1356-L1378
- https://github.com/l-smash/l-smash/blob/v2.14.5/importer/nalu_imp.c#L697-L715
- https://www.vulncheck.com/advisories/l-smash-through-2.14.5-double-free-in-hevc-and-h-264-importer-probe
ADP enrichment
No English description supplied.