A use-after-free vulnerability exists in the MediaRecorder API of Webkit WebKitGTK 2.40.5. A specially crafted web page can abuse this vulnerability to cause memory corruption and potentially arbitrary code execution. A user would need to to visit a malicious webpage to trigger this vulnerability.
https://www.debian.org/security/2023/dsa-5527
https://webkitgtk.org/security/WSA-2023-0009.html
https://talosintelligence.com/vulnerability_reports/TALOS-2023-1831