Description
Fraunhofer HHI VVdeC before 3.2.1 contains a heap use-after-free vulnerability that allows attackers to corrupt memory by redefining an ALF adaptation parameter set id still referenced by slices. Attackers can supply a crafted VVC bitstream that, with multithreaded decoding, makes worker threads dereference freed APS objects in CABACReader::readAlf() and AdaptiveLoopFilter::reconstructCoeff(), causing crashes or heap corruption.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| fraunhoferhhi | vvdec | < 3.2.1 | 3.2.1 |
References
- https://github.com/fraunhoferhhi/vvdec/issues/391 issue-tracking
- https://github.com/fraunhoferhhi/vvdec/issues/390 issue-tracking
- https://github.com/fraunhoferhhi/vvdec/commit/1eddb30c4b8e02f3d13ba24aa7e52f1aa7b08c01 patch
- https://github.com/fraunhoferhhi/vvdec/blob/v3.2.0/source/Lib/CommonLib/Slice.h#L2570 technical-description
- https://github.com/fraunhoferhhi/vvdec/blob/v3.2.0/source/Lib/CommonLib/ParameterSetManager.h#L97 technical-description
- https://github.com/fraunhoferhhi/vvdec/blob/v3.2.0/source/Lib/DecoderLib/CABACReader.cpp#L428-L429 technical-description
- https://github.com/fraunhoferhhi/vvdec product
- VulnCheck Advisory: Fraunhofer HHI VVdeC before 3.2.1 Heap Use-After-Free via ALF APS Redefinition third-party-advisory