Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| xqq | libaribcaption | 1.1.0 – ≤ 1.1.2 | — |
References
- https://hackmd.io/@haindpwn/libaribcaption-latin-special-table-oob-read third-party-advisory
- https://github.com/xqq/libaribcaption/blob/v1.1.2/src/decoder/decoder_impl.cpp technical-description
- https://github.com/xqq/libaribcaption/blob/v1.1.2/src/decoder/b24_conv_tables.hpp technical-description
- https://github.com/xqq/libaribcaption/commit/9917cb311c93d884cb820d122911a211042da26c technical-description patch
- VulnCheck Advisory: libaribcaption 1.1.0 through 1.1.2 Out-of-Bounds Read via DecoderImpl::HandleGLGR third-party-advisory