Version 4.0.7.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9865b6d..9ded851 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@
 cmake_minimum_required(VERSION 3.13)
 
 # Library version
-set(VERSION "4.0.6")
+set(VERSION "4.0.7")
 # API version
 set(SOVERSION "4")
 
diff --git a/mz.h b/mz.h
index 2352263..ca48bd2 100644
--- a/mz.h
+++ b/mz.h
@@ -14,8 +14,8 @@
 /***************************************************************************/
 
 /* MZ_VERSION */
-#define MZ_VERSION                      ("4.0.6")
-#define MZ_VERSION_BUILD                (0x040006)
+#define MZ_VERSION                      ("4.0.7")
+#define MZ_VERSION_BUILD                (0x040007)
 
 /* MZ_ERROR */
 #define MZ_OK                           (0)  /* zlib */