diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.39.bb b/meta/recipes-multimedia/libpng/libpng_1.6.40.bb
similarity index 52%
rename from meta/recipes-multimedia/libpng/libpng_1.6.39.bb
rename to meta/recipes-multimedia/libpng/libpng_1.6.40.bb
index a6c229f5cf..f476de01f0 100644
--- a/meta/recipes-multimedia/libpng/libpng_1.6.39.bb
+++ b/meta/recipes-multimedia/libpng/libpng_1.6.40.bb
@@ -1,3 +1,27 @@
+# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'.
+# The following is the difference between the old and the new license text.
+# Please update the LICENSE value if needed, and summarize the changes in
+# the commit message via 'License-Update:' tag.
+# (example: 'License-Update: copyright years updated.')
+#
+# The changes:
+#
+# --- LICENSE
+# +++ LICENSE
+# @@ -4,8 +4,8 @@
+#  PNG Reference Library License version 2
+#  ---------------------------------------
+#  
+# - * Copyright (c) 1995-2022 The PNG Reference Library Authors.
+# - * Copyright (c) 2018-2022 Cosmin Truta.
+# + * Copyright (c) 1995-2023 The PNG Reference Library Authors.
+# + * Copyright (c) 2018-2023 Cosmin Truta.
+#   * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
+#   * Copyright (c) 1996-1997 Andreas Dilger.
+#   * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
+# 
+#
+
 SUMMARY = "PNG image format decoding library"
 DESCRIPTION = "An open source project to develop and maintain the reference \
 library for use in applications that read, create, and manipulate PNG \
@@ -5,13 +29,13 @@ library for use in applications that read, create, and manipulate PNG \
 HOMEPAGE = "http://www.libpng.org/"
 SECTION = "libs"
 LICENSE = "Libpng"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=5c900cc124ba35a274073b5de7639b13"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8f533bc367bfd43f556b6f782234c076"
 DEPENDS = "zlib"
 
 LIBV = "16"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/${BP}.tar.xz"
-SRC_URI[sha256sum] = "1f4696ce70b4ee5f85f1e1623dc1229b210029fa4b7aee573df3e2ba7b036937"
+SRC_URI[sha256sum] = "535b479b2467ff231a3ec6d92a525906fb8ef27978be4f66dbe05d3f3a01b3a1"
 
 MIRRORS += "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/ ${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/older-releases/"
 
