🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#6549
From: Andreas Metzler
Date: Sat, 28 Nov 2026 12:10
55 lines
4165 bytes
On 2026-11-26 Andreas Metzler <ametzler@bebt.de> wrote:
> On 2026-11-26 Simon Cozens via Pkg-exim4-maintainers <pkg-exim4-maintainers@alioth-lists.debian.net> wrote:
>> 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.
> [...]


> Hello Simon,

> Can you provide a failing subject? I tried in vain with either plain
> ASCII, unencoded 8bit chars or rfc-2047 encoded latin1.

> I have used this trivial acl to check, which was not enough to
> reproduce the issue:

> acl_check_data:
>   warn log_message = "$header_from::$header_subject::Accepting"

>   deny message = aborting

> Did the respective logwrite succeed on your side for the messages which
> were not delivered?

>> Architecture: i386 (x86_64)
>> Foreign Architectures: amd64

> I understand you are running an i386 system and use some amd64 binaries.
> - Was the breaking exim an amd64 or an i386 one?

FWIW I cannot reproduce on i386 either.

cu Andreas
-- 
"You people are noisy," Nia said.
I made the gesture of agreement.
Technical Details
Message-ID: <O4ppE-eFBk-17@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O3DuF-eexF-5@gated-at.bofh.it> <O3DuF-eexF-5@gated-at.bofh.it> <O3LVf-ej1i-3@gated-at.bofh.it> <O3DuF-eexF-5@gated-at.bofh.it> <O3LVf-ej1i-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Andreas Metzler <ametzler@bebt.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155425: exim4: internal error in string_catn using $header_subject in filter file
Date: Sat, 28 Nov 2026 13:10:02 +0100
Message-ID: <O4ppE-eFBk-17@gated-at.bofh.it>
References: <O3DuF-eexF-5@gated-at.bofh.it> <O3DuF-eexF-5@gated-at.bofh.it> <O3LVf-ej1i-3@gated-at.bofh.it> <O3DuF-eexF-5@gated-at.bofh.it> <O3LVf-ej1i-3@gated-at.bofh.it>
X-Original-To: 1155425@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sat Nov 28 12:09:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Andreas Metzler <ametzler@bebt.de>, 1155425@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-exim4-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1155425
X-Debian-Pr-Package: exim4
X-Debian-Pr-Source: exim4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005601
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 55
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Simon Cozens <simon@simon-cozens.org>
X-Original-Date: Sat, 28 Nov 2026 13:06:33 +0100
X-Original-Message-ID: <awrDyQ2CVsdIUHi1@argenau.bebt.de>
X-Original-References: <179568055949.7122.4348531802845676889.reportbug@dealer.simon-cozens.org> <179568055949.7122.4348531802845676889.reportbug@dealer.simon-cozens.org> <awhyrJMr2CSRW8vU@argenau.bebt.de> <179568055949.7122.4348531802845676889.reportbug@dealer.simon-cozens.org> <awhyrJMr2CSRW8vU@argenau.bebt.de>