Nexbox A95X memory corruption in VobSub subtitle decoder
Nexbox A95X · Amlogic Android SDK
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Nexbox A95X |
| No fix yet |
| Amlogic Amlogic Android SDK |
| No fix yet |
Original description
The VobSub subtitle decoder libsub_vob (part of the Amlogic DroidLogic SubTitleService), as shipped on Nexbox A95X (Amlogic S905X) TV boxes, contains an out-of-bounds write vulnerability in vob_fill_pixel() that allows remote attackers to corrupt stack memory by sending a crafted SET_CONTR command with an attacker-controlled alpha value that drives an unbounded array index (change_data) past the end of the fixed four-element PixelDatas array. Attackers can exploit this by sending malicious VobSub data over the unauthenticated tcp/10100 socket or via a malicious .sub file to zero out adjacent stack bytes, resulting in silent stack corruption or process crash.