Add upstream patches to fix recent vulnerabilities. Security: CVE-2024-47076 Security: CVE-2024-47176