Security fixes for CVE-2024-11168 and CVE-2025-0938

Source: Fedora 40: python3.8 2025-b353a46e0c Security Advisory Updates