Version in base suite: 4.98.2-1+deb13u5 Base version: exim4_4.98.2-1+deb13u5 Target version: exim4_4.98.2-1+deb13u6 Base file: /srv/ftp-master.debian.org/ftp/pool/main/e/exim4/exim4_4.98.2-1+deb13u5.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/e/exim4/exim4_4.98.2-1+deb13u6.dsc changelog | 8 ++ patches/86_Extend-musl-dns-OOB-read-fix.patch | 30 ++++++++ patches/86_Fix-iconv-failure-handling.patch | 87 ++++++++++++++++++++++++++ patches/series | 2 4 files changed, 127 insertions(+) dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpmex98pvg/exim4_4.98.2-1+deb13u5.dsc: no acceptable signature found dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpmex98pvg/exim4_4.98.2-1+deb13u6.dsc: no acceptable signature found diff -Nru exim4-4.98.2/debian/changelog exim4-4.98.2/debian/changelog --- exim4-4.98.2/debian/changelog 2026-09-25 09:25:38.000000000 +0000 +++ exim4-4.98.2/debian/changelog 2026-11-11 17:36:59.000000000 +0000 @@ -1,3 +1,11 @@ +exim4 (4.98.2-1+deb13u6) trixie-security; urgency=high + + * Upstream patch: Extend musl dns OOB read fix. (Thanks, Özgün Kültekin) + * From 4.100.2: Fix an OOB write resulting from header decode. + (GCVE-25-2026-11-82-1). + + -- Andreas Metzler Wed, 11 Nov 2026 18:36:59 +0100 + exim4 (4.98.2-1+deb13u5) trixie-security; urgency=high * Cherry-pick relevant changes from security release 4.100.1. diff -Nru exim4-4.98.2/debian/patches/86_Extend-musl-dns-OOB-read-fix.patch exim4-4.98.2/debian/patches/86_Extend-musl-dns-OOB-read-fix.patch --- exim4-4.98.2/debian/patches/86_Extend-musl-dns-OOB-read-fix.patch 1970-01-01 00:00:00.000000000 +0000 +++ exim4-4.98.2/debian/patches/86_Extend-musl-dns-OOB-read-fix.patch 2026-11-11 17:36:59.000000000 +0000 @@ -0,0 +1,30 @@ +From e81c3d3ac33d7ea65a418e479d2ccb91ef9327e6 Mon Sep 17 00:00:00 2001 +From: Jeremy Harris +Date: Sat, 8 Aug 2026 16:49:50 +0100 +Subject: [PATCH] Extend musl dns OOB read fix + +Broken-by: 628bbaca7672 +--- + src/string.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/string.c b/src/string.c +index b7500bd5f..e81c2f084 100644 +--- a/src/string.c ++++ b/src/string.c +@@ -634,11 +634,11 @@ while (*s) + uschar c = *s++ - '0'; + if (isdigit(*s)) c = c * 10 + *s++ - '0'; + if (isdigit(*s)) c = c * 10 + *s++ - '0'; + *ss++ = c; + } +- else if (*++s) ++ else if (*s) + *ss++ = *s++; + + *ss = 0; + return yield; + } +-- +2.53.0 + diff -Nru exim4-4.98.2/debian/patches/86_Fix-iconv-failure-handling.patch exim4-4.98.2/debian/patches/86_Fix-iconv-failure-handling.patch --- exim4-4.98.2/debian/patches/86_Fix-iconv-failure-handling.patch 1970-01-01 00:00:00.000000000 +0000 +++ exim4-4.98.2/debian/patches/86_Fix-iconv-failure-handling.patch 2026-11-11 17:36:59.000000000 +0000 @@ -0,0 +1,87 @@ +From eac152d113babed951f3cc52f548c4b4ba974ae3 Mon Sep 17 00:00:00 2001 +From: Jeremy Harris +Date: Thu, 19 Nov 2026 11:14:12 +0000 +Subject: [PATCH] Fix iconv failure handling + +--- + doc/ChangeLog | 7 +++++++ + src/expand.c | 21 ++++++++++++++------- + 2 files changed, 21 insertions(+), 7 deletions(-) + +--- a/doc/ChangeLog ++++ b/doc/ChangeLog +@@ -1,9 +1,18 @@ + This document describes *changes* to previous versions, that might + affect Exim's operation, with an unchanged configuration file. For new + options, and new features, see the NewStuff file next to this ChangeLog. + ++Exim version 4.100.2 ++-------------------- ++ ++This is a security release. ++ ++JH/01 Fix an OOB write resulting from header decode. (GCVE-25-2026-11-82-1). ++ ++ ++ + JH/01 Proxy Protocol: fix an OOB read in V1 protocol header parsing + (GCVE-25-2026-09-50-1). + + JH/02 Proxy-protocol: account for incomplete V2 protocol header reception. + Previously uninitialised data was then used for the length field of the +--- a/src/expand.c ++++ b/src/expand.c +@@ -1672,11 +1672,11 @@ Arguments: + Returns: NULL if the header does not exist, else a pointer to a new + store block + */ + + static uschar * +-find_header(uschar * name, int * newsize, unsigned flags, const uschar * charset) ++find_header(uschar * name, int * newsizep, unsigned flags, const uschar * charset) + { + BOOL found = !name; + int len = name ? Ustrlen(name) : 0; + BOOL comma = FALSE; + gstring * g = NULL; +@@ -1740,27 +1740,34 @@ for (header_line * h = header_list; h; h + if (!found) return NULL; /* No header found */ + if (!g) return US""; + + /* That's all we do for raw header expansion. */ + +-*newsize = g->size; ++*newsizep = g->size; + rawhdr = string_from_gstring(g); + if (flags & FH_WANT_RAW) + return rawhdr; + + /* Otherwise do RFC 2047 decoding, translating the charset if requested. + The rfc2047_decode2() function can return an error with decoded data if the + charset translation fails. If decoding fails, it returns NULL. */ + + else + { ++ int newsize; + uschar * error, * decoded = rfc2047_decode2(rawhdr, +- check_rfc2047_length, charset, '?', NULL, newsize, &error); +- if (error) +- DEBUG(D_any) debug_printf("*** error in RFC 2047 decoding: %s\n" +- " input was: %s\n", error, rawhdr); +- return decoded ? decoded : rawhdr; ++ check_rfc2047_length, charset, '?', NULL, &newsize, &error); ++ if (decoded && !error) ++ { ++ *newsizep = newsize; ++ return decoded; ++ } ++ ++ if (error) DEBUG(D_any) ++ debug_printf("*** error in RFC 2047 decoding: %s\n input was: %s\n", ++ error, rawhdr); ++ return rawhdr; + } + } + + + diff -Nru exim4-4.98.2/debian/patches/series exim4-4.98.2/debian/patches/series --- exim4-4.98.2/debian/patches/series 2026-09-25 09:25:38.000000000 +0000 +++ exim4-4.98.2/debian/patches/series 2026-11-11 17:36:59.000000000 +0000 @@ -25,4 +25,6 @@ 85_0001-Proxy-protocol-Fix-OOB-read.patch 85_0002-Proxy-protocol-account-for-short-received-V2-header.patch 85_0004-Avoid-more-SMTP-smuggling-attack-types.patch +86_Extend-musl-dns-OOB-read-fix.patch +86_Fix-iconv-failure-handling.patch 90_localscan_dlopen.dpatch