diff --git a/meta/recipes-core/libxml/libxml2/CVE-2026-74860.patch b/meta/recipes-core/libxml/libxml2/CVE-2026-74860.patch
new file mode 100644
index 0000000000..0a56282bc4
--- /dev/null
+++ b/meta/recipes-core/libxml/libxml2/CVE-2026-74860.patch
@@ -0,0 +1,35 @@
+From f41e1865781f74d1cadfe2fbdfeefed946026f12 Mon Sep 17 00:00:00 2001
+From: Daniel Garcia Moreno <daniel.garcia@suse.com>
+Date: Tue, 10 Mar 2026 20:30:20 +0100
+Subject: [PATCH] python: Do not decref string after adding to the list
+
+The python API PyList_SetItem function "steals" a reference to item, so
+we don't need to call Py_DECREF here.
+
+https://docs.python.org/3.13/c-api/list.html#c.PyList_SetItem
+
+Fix https://gitlab.gnome.org/GNOME/libxml2/-/issues/1076
+
+CVE: CVE-2026-74860
+Upstream-Status: Backport from https://gitlab.gnome.org/GNOME/libxml2/-/commit/f41e1865781f74d1cadfe2fbdfeefed946026f12
+
+Signed-off-by: Rohini Sangam <rsangam@mvista.com>
+---
+ python/libxml.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/python/libxml.c b/python/libxml.c
+index 2bf1407..728ecbf 100644
+--- a/python/libxml.c
++++ b/python/libxml.c
+@@ -1232,7 +1232,6 @@ pythonAttributeDecl(void *user_data,
+         for (node = tree; node != NULL; node = node->next) {
+             newName = PY_IMPORT_STRING((char *) node->name);
+             PyList_SetItem(nameList, count, newName);
+-	    Py_DECREF(newName);
+             count++;
+         }
+         result = PyObject_CallMethod(handler, (char *) "attributeDecl",
+-- 
+2.44.4
+
diff --git a/meta/recipes-core/libxml/libxml2_2.12.10.bb b/meta/recipes-core/libxml/libxml2_2.12.10.bb
index 5e4cabbf5d..387f47c3ed 100644
--- a/meta/recipes-core/libxml/libxml2_2.12.10.bb
+++ b/meta/recipes-core/libxml/libxml2_2.12.10.bb
@@ -39,6 +39,7 @@ SRC_URI += "http://www.w3.org/XML/Test/xmlts20130923.tar;subdir=${BP};name=testt
            file://CVE-2026-86142.patch \
            file://CVE-2026-86143.patch \
            file://CVE-2026-86144.patch \
+           file://CVE-2026-74860.patch \
            "
 
 SRC_URI[archive.sha256sum] = "c3d8c0c34aa39098f66576fe51969db12a5100b956233dc56506f7a8679be995"
