Bug#1155425: exim4: internal error in string_catn using $header_subject in filter file
Andreas Metzler
ametzler at bebt.de
Sat Nov 28 12:06:33 GMT 2026
On 2026-11-26 Andreas Metzler <ametzler at bebt.de> wrote:
> On 2026-11-26 Simon Cozens via Pkg-exim4-maintainers <pkg-exim4-maintainers at alioth-lists.debian.net> wrote:
>> 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.
> [...]
> 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.
More information about the Pkg-exim4-maintainers
mailing list