diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 09a3ee6e0..0e6915697 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -40,6 +40,16 @@
appropriate for the entry or if needed the entire day's listitem.
-->
+
+ 2025-08-05
+
+
+ [renodr] - Fixed CVE-2025-8194 in Python. Fixes
+ #5774.
+
+
+
+
2025-08-01
diff --git a/chapter08/python.xml b/chapter08/python.xml
index 534b81acd..2bedb71c6 100644
--- a/chapter08/python.xml
+++ b/chapter08/python.xml
@@ -42,11 +42,17 @@
Installation of Python 3
-
+
+ First, fix a security vulnerability in the tarfile module:
+
+sed -e '/Round/{n;n;a\
+ # Only non-negative offsets are allowed\
+ if count < 0:\
+ raise InvalidHeaderError("invalid offset")
+}' -i Lib/tarfile.py
+
Prepare Python for compilation:
./configure --prefix=/usr \