In Wireshark 2.6.0 to 2.6.5 and 2.4.0 to 2.4.11, the RTSE dissector and other ASN.1 dissectors could crash. This was addressed in epan/charsets.c by adding a get_t61_string length check. References: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15373 https://www.wireshark.org/security/wnpa-sec-2019-03.html Upstream Patch: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=cd09cb5cfb673beca3cce20b1d6a9bc67a134ae1
Created wireshark tracking bugs for this issue: Affects: fedora-all [bug 1667587]
Function get_t61_string() in charsets.c does not correctly validate its input and it reads one byte beyond the input buffer `ptr`, possibly crashing the binary or having other undefined effects.