A buffer overflow issue was addressed with improved memory handling. This issue is fixed in macOS Sonoma 14.6. An app may be able to execute arbitrary code with kernel privileges.
https://support.apple.com/kb/HT214119
https://support.apple.com/en-us/HT214119