diff --git a/config/software/python3.rb b/config/software/python3.rb
index d18e514d84a802d6c28c3df5c24745592b301984_Y29uZmlnL3NvZnR3YXJlL3B5dGhvbjMucmI=..11da337c7c1520799d930a5236e036ac6c8e1e08_Y29uZmlnL3NvZnR3YXJlL3B5dGhvbjMucmI= 100644
--- a/config/software/python3.rb
+++ b/config/software/python3.rb
@@ -23,7 +23,7 @@
 # files/gitlab-cookbooks/gitlab/attributes/default.rb
 # spec/chef/recipes/gitaly_spec.rb
 # spec/chef/recipes/gitlab-rails_spec.rb
-default_version '3.9.6'
+default_version '3.9.16'
 
 dependency 'libedit'
 dependency 'ncurses'
@@ -40,7 +40,7 @@
 skip_transitive_dependency_licensing true
 
 source url: "https://www.python.org/ftp/python/#{version}/Python-#{version}.tgz",
-       sha256: 'd0a35182e19e416fc8eae25a3dcd4d02d4997333e4ad1f2eee6010aadc3fe866'
+       sha256: '1ad539e9dbd2b42df714b69726e0693bc6b9d2d2c8e91c2e43204026605140c5'
 
 relative_path "Python-#{version}"