Since 3.6 has reached EOL there are no further security patches. known security vulnerabilities https://security.snyk.io/package/linux/ubuntu%3A18.04/python3.6