In Wireshark 3.2.0 to 3.2.2, 3.0.0 to 3.0.9, and 2.6.0 to 2.6.15, the BACapp dissector could crash. This was addressed in epan/dissectors/packet-bacapp.c by limiting the amount of recursion.
Created wireshark tracking bugs for this issue:
Affects: fedora-all [bug 1824158]
The versions of Wireshark as shipped with Red Hat Enterprise Linux 7 and earlier are not affected by this issue because the commit was introduced in later versions.
This flaw appears to be caused because the fAbstractSyntaxNType() function in epan/dissectors/packet-bacapp.c calls other functions such as fLogRecord(), fLogMultipleRecord(), fEventParameter(), which in turn call fAbstractSyntaxNType(). A malformed packet could create a condition in which the recursion depth would overflow the stack size because there was no limitation on recursion depth.