🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#6328
From: Andreas Metzler
Date: Thu, 26 Nov 2026 18:00
49 lines
3623 bytes
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?

cu Andreas
Technical Details
Message-ID: <O3LVf-ej1i-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <O3DuF-eexF-5@gated-at.bofh.it> <O3DuF-eexF-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!fu-berlin.de!news.servidellagleba.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: Thu, 26 Nov 2026 19:00:01 +0100
Message-ID: <O3LVf-ej1i-3@gated-at.bofh.it>
References: <O3DuF-eexF-5@gated-at.bofh.it> <O3DuF-eexF-5@gated-at.bofh.it>
X-Original-To: Simon Cozens <simon@simon-cozens.org>, 1155425@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov 26 17:57: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/2005242
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 49
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 26 Nov 2026 18:55:56 +0100
X-Original-Message-ID: <awhyrJMr2CSRW8vU@argenau.bebt.de>
X-Original-References: <179568055949.7122.4348531802845676889.reportbug@dealer.simon-cozens.org> <179568055949.7122.4348531802845676889.reportbug@dealer.simon-cozens.org>