🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6280

Bug#1155425: exim4: internal error in string_catn using $header_subject in filter file

#6280
From: Simon Cozens
Date: Thu, 26 Nov 2026 09:00
64 lines
4723 bytes
Package: exim4
Version: 4.98.2-1+deb13u6
Severity: normal
X-Debbugs-Cc: team@security.debian.org

After the security upgrade this morning, mail stopped being delivered through
my filter file. I narrowed this down to the line

logwrite "$header_from::$header_subject::Accepting"

exim logs showed the following during processing this logwrite:

07:47:45  2349 LOG: MAIN PANIC DIE
07:47:45  2349   internal error in string_catn (ptr 47 size -8324541)
2026-11-26 07:47:45 1xWUAU-000000000LT-2Qpm internal error in string_catn (ptr 47 size -8324541)
2026-11-26 07:47:45 1xWUAU-000000000LT-2Qpm internal error in string_catn (ptr 47 size -8324541)
07:47:45  2348 rda_interpret: subprocess yield=8 error=NULL
07:47:45  2348 LOG: MAIN PANIC
07:47:45  2348   internal problem in userforward router (recipient is XXX): failure to transfer data from subprocess: status=0100 readerror='Invalid argument'

Removing the $header_subject allowed mails to be delivered. This happened
for multiple mails, even those with very simple ASCII subjects.

-- Package-specific info:
Exim version 4.98.2 #2 built 11-Nov-2026 17:36:59
Copyright (c) University of Cambridge, 1995 - 2018
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2024
Hints DB:
 Berkeley DB: Berkeley DB 5.3.28: (September  9, 2013)
Support for: Content_Scanning crypteq Expand_dlfunc iconv() IPv6 PAM Perl GnuTLS move_frozen_messages TLS_resume DANE DKIM DNSSEC ESMTP_Limits ESMTP_Wellknown Event I18N OCSP PIPECONNECT PRDR PROXY Queue_Ramp SOCKS SPF SRS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql sqlite
Authenticators: cram_md5 cyrus_sasl dovecot external plaintext spa tls
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Malware: f-protd f-prot6d drweb fsecure sophie clamd avast sock cmdline
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
Configuration file search path is /etc/exim4/exim4.conf:/var/lib/exim4/config.autogenerated
Configuration file is /var/lib/exim4/config.autogenerated

-- System Information:
Debian Release: 13.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 7.1.9-x86_64-linode176 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages exim4 depends on:
ii  debconf [debconf-2.0]  1.5.91
ii  exim4-base             4.98.2-1+deb13u6
ii  exim4-daemon-heavy     4.98.2-1+deb13u6

exim4 recommends no packages.

exim4 suggests no packages.

-- debconf information:
  exim4/drec:
Technical Details
Message-ID: <O3DuF-eexF-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Simon Cozens <simon@simon-cozens.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155425: exim4: internal error in string_catn using $header_subject in filter file
Date: Thu, 26 Nov 2026 10:00:01 +0100
Message-ID: <O3DuF-eexF-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov 26 08:51:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Simon Cozens <simon@simon-cozens.org>, 1155425@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team@security.debian.org, pkg-exim4-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: report 1155425
X-Debian-Pr-Package: exim4
X-Debian-Pr-Source: exim4
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0
X-Sa-Exim-Connect-IP: <locally generated>
X-Sa-Exim-Mail-From: simon@simon-cozens.org
X-Sa-Exim-Scanned: No (on dealer.simon-cozens.org); SAEximRunCond expanded to false
X-Greylist: delayed 2329 seconds by postgrey-1.37 at buxtehude; Thu, 26 Nov 2026 08:48:11 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005161
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 64
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 26 Nov 2026 08:09:19 +0000
X-Original-Message-ID: <179568055949.7122.4348531802845676889.reportbug@dealer.simon-cozens.org>