An issue was discovered in PJSIP in Asterisk before 16.19.1 and before 18.5.1. To exploit, a re-INVITE without SDP must be received after Asterisk has sent a BYE request.
https://issues.asterisk.org/jira/browse/ASTERISK-29381
https://downloads.digium.com/pub/security/AST-2021-007.html
http://seclists.org/fulldisclosure/2021/Jul/48
http://packetstormsecurity.com/files/163638/Asterisk-Project-Security-Advisory-AST-2021-007.html
http://downloads.asterisk.org/pub/security/AST-2021-007.html