diff --git a/meta-oe/recipes-devtools/perl/libdbi-perl/CVE-2026-88815.patch b/meta-oe/recipes-devtools/perl/libdbi-perl/CVE-2026-88815.patch
new file mode 100644
index 0000000000..b1e5c7bfbe
--- /dev/null
+++ b/meta-oe/recipes-devtools/perl/libdbi-perl/CVE-2026-88815.patch
@@ -0,0 +1,68 @@
+From: "H.Merijn Brand - Tux" <linux@tux.freedom.nl>
+Date: Thu, 10 Sep 2026 10:38:30 +0200
+Subject: Fix DBI::sql_type_cast on IV/NV (reported by Raj)
+
+Origin: https://github.com/perl5-dbi/dbi/commit/e5ad87e5602da995d28b4d65df222368b58d6702
+Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2026-88815
+
+Backport Changes:
+
+The changes to ChangeLog, dbixs_rev.h, and lib/DBI/Changes.pm have been
+omitted because they are not applicable to our current version.
+Therefore, these files are not included in this patch.
+
+CVE: CVE-2026-88815
+Upstream-Status: Backport [https://github.com/perl5-dbi/dbi/commit/e5ad87e5602da995d28b4d65df222368b58d6702]
+Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
+---
+ DBI.xs              |  4 +++-
+ t/90sql_type_cast.t | 17 +++++++++++++++++
+ 2 files changed, 20 insertions(+), 1 deletion(-)
+
+diff --git a/DBI.xs b/DBI.xs
+index 4b4f66c..53889f0 100644
+--- a/DBI.xs
++++ b/DBI.xs
+@@ -1977,8 +1977,10 @@ sql_type_cast_svpv(pTHX_ SV *sv, int sql_type, U32 flags, void *v)
+     /* else no error and sv is untouched */
+     case SQL_NUMERIC:
+         /* based on the code in perl's toke.c */
++        STRLEN len;
++        char *p = SvPV(sv, len); /* force stringify, handle magic */
+         uv = 0;
+-        grok_flags = grok_number(SvPVX(sv), SvCUR(sv), &uv);
++        grok_flags = grok_number(p, len, &uv);
+         cast_ok = 1;
+         if (grok_flags == IS_NUMBER_IN_UV) { /* +ve int */
+             if (uv <= IV_MAX)   /* prefer IV over UV */
+diff --git a/t/90sql_type_cast.t b/t/90sql_type_cast.t
+index f5510e8..347df8b 100644
+--- a/t/90sql_type_cast.t
++++ b/t/90sql_type_cast.t
+@@ -44,6 +44,23 @@ my @tests = (
+      0, NO_CAST_NO_STRICT, q{["aa"]}],
+     ['non numeric cast to numeric (strict)', 'aa', SQL_NUMERIC,
+      DBIstcf_STRICT, NO_CAST_STRICT, q{["aa"]}],
++
++    # CVE-2026-88815
++    ['invalid sql type',
++     99,           123456789,   0,               INVALID_TYPE,      q{[99]}],
++    ['small int cast to int',
++     99,           SQL_INTEGER, 0,               CAST_OK,           q{[99]}],
++    ['2 byte max signed int cast to int',
++     32767,        SQL_INTEGER, 0,               CAST_OK,           q{[32767]}],
++    ['2 byte max unsigned int cast to int',
++     65535,        SQL_INTEGER, 0,               CAST_OK,           q{[65535]}],
++    ['4 byte max signed int cast to int',
++     2147483647,   SQL_INTEGER, 0,               CAST_OK,           q{[2147483647]}],
++    ['4 byte max unsigned int cast to int',
++     4294967295,   SQL_INTEGER, 0,               CAST_OK,           q{[4294967295]}],
++    ['small int cast to int (discard)',
++     99,           SQL_INTEGER, DBIstcf_DISCARD_STRING,
++                                                 CAST_OK,           q{[99]}],
+    );
+ 
+ if (!$pp) {
+-- 
+2.50.1
+
diff --git a/meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb b/meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb
index 7e3d1a0161..5328d6b8bd 100644
--- a/meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb
+++ b/meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb
@@ -19,6 +19,7 @@ SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-${PV}.tar.gz \
            file://CVE-2026-14380_p4.patch \
            file://CVE-2026-14739.patch \
            file://CVE-2026-14740.patch \
+           file://CVE-2026-88815.patch \
            "
 SRC_URI[md5sum] = "352f80b1e23769c116082a90905d7398"
 SRC_URI[sha256sum] = "8a2b993db560a2c373c174ee976a51027dd780ec766ae17620c20393d2e836fa"
