diff --git a/config/rootfiles/common/nettle b/config/rootfiles/common/nettle
index 267d1eef3..cb23f710c 100644
--- a/config/rootfiles/common/nettle
+++ b/config/rootfiles/common/nettle
@@ -27,7 +27,6 @@
 #usr/include/nettle/curve448.h
 #usr/include/nettle/des.h
 #usr/include/nettle/drbg-ctr.h
-#usr/include/nettle/dsa-compat.h
 #usr/include/nettle/dsa.h
 #usr/include/nettle/eax.h
 #usr/include/nettle/ecc-curve.h
@@ -43,7 +42,6 @@
 #usr/include/nettle/macros.h
 #usr/include/nettle/md2.h
 #usr/include/nettle/md4.h
-#usr/include/nettle/md5-compat.h
 #usr/include/nettle/md5.h
 #usr/include/nettle/memops.h
 #usr/include/nettle/memxor.h
@@ -52,7 +50,6 @@
 #usr/include/nettle/nist-keywrap.h
 #usr/include/nettle/ocb.h
 #usr/include/nettle/pbkdf2.h
-#usr/include/nettle/pgp.h
 #usr/include/nettle/pkcs1.h
 #usr/include/nettle/poly1305.h
 #usr/include/nettle/pss-mgf1.h
@@ -63,12 +60,12 @@
 #usr/include/nettle/salsa20.h
 #usr/include/nettle/serpent.h
 #usr/include/nettle/sexp.h
-#usr/include/nettle/sha.h
 #usr/include/nettle/sha1.h
 #usr/include/nettle/sha2.h
 #usr/include/nettle/sha3.h
 #usr/include/nettle/siv-cmac.h
 #usr/include/nettle/siv-gcm.h
+#usr/include/nettle/slh-dsa.h
 #usr/include/nettle/sm3.h
 #usr/include/nettle/sm4.h
 #usr/include/nettle/streebog.h
@@ -78,10 +75,10 @@
 #usr/include/nettle/xts.h
 #usr/include/nettle/yarrow.h
 usr/lib/libhogweed.so
-usr/lib/libhogweed.so.6
-usr/lib/libhogweed.so.6.11
+usr/lib/libhogweed.so.7
+usr/lib/libhogweed.so.7.0
 #usr/lib/libnettle.so
-usr/lib/libnettle.so.8
-usr/lib/libnettle.so.8.11
+usr/lib/libnettle.so.9
+usr/lib/libnettle.so.9.0
 #usr/lib/pkgconfig/hogweed.pc
 #usr/lib/pkgconfig/nettle.pc
diff --git a/lfs/nettle b/lfs/nettle
index 193bcb178..eedffae9b 100644
--- a/lfs/nettle
+++ b/lfs/nettle
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2025  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2026  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 3.10.2
+VER        = 4.0
 
 THISAPP    = nettle-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 2bcd54c97d793238a9c6527f0ba4851dd9e5b53c80abc1ed012ef53e9dbed1fc47c474ca7c29a2c0a989830e45f85eb61db4752dd8b8487cffc8559f43788c89
+$(DL_FILE)_BLAKE2 = 7391fe45917ad394973a9069305c415779182ca9c7640105c47bbf23ef74301099ca8ab1bc18cc331297ec43c848b34b1c1549ae1111dadea17c35032a5ffcdc
 
 install : $(TARGET)
 
