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

Simon Cozens simon at simon-cozens.org
Thu Nov 26 08:09:19 GMT 2026


Package: exim4
Version: 4.98.2-1+deb13u6
Severity: normal
X-Debbugs-Cc: team at 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:



More information about the Pkg-exim4-maintainers mailing list