Description (CNA)
libaribcaption 1.1.0 through 1.1.2 contains a global out-of-bounds read in DecoderImpl::HandleGLGR() that reads past the 78-entry kLatinSpecialTable without an upper bound check. Attackers can supply crafted captions designating the Latin special set with ESC 28 4C followed by bytes 0x6F-0x7E to leak adjacent read-only data or crash decoding.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| xqq / libaribcaption | affected 1.1.0 through 1.1.2 |
CWE
CWE-125
References
- https://hackmd.io/@haindpwn/libaribcaption-latin-special-table-oob-read
- https://github.com/xqq/libaribcaption/blob/v1.1.2/src/decoder/decoder_impl.cpp
- https://github.com/xqq/libaribcaption/blob/v1.1.2/src/decoder/b24_conv_tables.hpp
- https://github.com/xqq/libaribcaption/commit/9917cb311c93d884cb820d122911a211042da26c
- https://www.vulncheck.com/advisories/libaribcaption-1.1.0-through-1.1.2-out-of-bounds-read-via-decoderimpl-handleglgr
ADP enrichment
No English description supplied.