CVE-2017-8310
Information
Heap out-of-bound read in CreateHtmlSubtitle due to missing check of string termination.
Allows attacker to read data beyond allocated memory and potentially crash the process (causing a denial of service).
Line that contains “<font” tag without a closing angular bracket.
Poc for triggering included. Note it doesn’t have to be an SRT file, but any subtitles file.
Attachments:
poc.srt
References:
http://git.videolan.org/?p=vlc/vlc-2.2.git;a=blobdiff;f=modules/codec/subsdec.c;h=addd8c71f30d53558fffd19059b374be45cf0f8e;hp=1b4276e299a2a6668047231d29ac705ae93076ba;hb=7cac839692ab79dbfe5e4ebd4c4e37d9a8b1b328;hpb=3477dba3d506de8d95bccef2c6b67861188f6c29