🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#916827: clamav UTF8 filenames

#7136
From: Edmund Lodewijks
Date: Wed, 02 Dec 2026 10:20
73 lines
4083 bytes
On Wed, 19 Dec 2018 14:36:07 +0700 "Dmitriy Sidorov" 
<rauco@beer.tomsknet.ru> wrote:
> Package: clamav
> 
> Version: 0.100.2+dfsg-0+deb9u1
> 
> Severity: important
> 
> Tags: upstream
> 
>  
> 
> ClamAV didn’t do correct decode of complex UTF-8 filename from MHTML
> container. Debug output
> 
>  
> 
> LibClamAV debug: rfc2047 returns 'Content-Disposition: attachment;
> filename="Пакет документов Ð ´ля оплаты
> декабрь      .gz"'
> 
> LibClamAV debug: parseMimeHeader: cmd='Content-Disposition', arg='
> attachment; filename="Пакет документов Ð     ´ля
> оплаты декабрь      .gz"'
> 
> LibClamAV debug: messageAddArgument, arg='filename="Пакет
> документов Ð  ´ля оплаты декабрь      .gz"'
> 
> LibClamAV debug: Multipart 0: End of header information
> 
> LibClamAV debug: Part 0 has 4108 lines, rc = 1
> 
> LibClamAV debug: Mixed message part 0 is of type 1
> 
> LibClamAV debug: messageToFileblob
> 
> LibClamAV debug: messageExport: numberOfEncTypes == 1
> 
> LibClamAV debug: messageExport: enctype 0 is 2
> 
> LibClamAV debug: blobSetFilename: "P.P0P:P5Q. P4P>P:Q.P<P5P=Q.P>P2 P
> 4P;Q. P>P?P;P0Q.Q. P4P5P:P0P1Q
> 
> LibClamAV debug: fileblobSetFilename: file
> _P_P0P_P5Q__P4P_P_Q_P_P5P_Q_P_P2_P_4P_Q__P_P_P_P0Q_Q__P4P5P_P0P1Q saved to
> ……
> 
>  
> 
> …..
> 
>  
> 
> LibClamAV debug: Exported 234078 bytes using enctype 2
> 
> LibClamAV debug: 2 trailing bytes to export
> 
> LibClamAV debug: base64chars = 2 (@ @ @)
> 
> LibClamAV debug:
> CDBNAME:CL_TYPE_MHTML:234079:_P_P0P_P5Q__P4P_P_Q_P_P5P_Q_P_P2_P_4P_Q__P_P_P_
> P0Q_Q__P4P5P_P0P1Q:234079:234079:0:0:0:(nil)


This is actually still an issue. Clamav has closed down their Bugzilla 
in the mean time, so I opened a new Issue on their github tracker:

https://github.com/Cisco-Talos/clamav/issues/1954


-- 
Edmund Lodewijks <edmund@proteamail.com>
TZ: UTC+2 / GMT+2
Technical Details
Message-ID: <O5PBo-fww3-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <x6EMa-6f2-7@gated-at.bofh.it> <x6EMa-6f2-7@gated-at.bofh.it> <x6EMa-6f2-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Edmund Lodewijks <edmund@proteamail.com>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#916827: clamav UTF8 filenames
Date: Wed, 02 Dec 2026 11:20:02 +0100
Message-ID: <O5PBo-fww3-5@gated-at.bofh.it>
References: <x6EMa-6f2-7@gated-at.bofh.it> <x6EMa-6f2-7@gated-at.bofh.it> <x6EMa-6f2-7@gated-at.bofh.it>
X-Original-To: 916827@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Dec  2 10:13:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Edmund Lodewijks <edmund@proteamail.com>, 916827@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-clamav-devel@lists.alioth.debian.org
X-Debian-Pr-Message: followup 916827
X-Debian-Pr-Package: clamav
X-Debian-Pr-Source: clamav
X-Dkim-Filter: PhoenixDKIM Filter v1.0.0 mail.proteamail.com via nbg-mx-proteamail-1 4jfYVG005Yz2xd2
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
X-Dkim-Key-Compromise: NOTE REGARDING DKIM KEY COMPROMISE https://proteamail.com/dkim-rotate/README.txt https://proteamail.com/dkim-rotate/60/6085ec65b1af80e57983ddcee072a3cb.pem
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006478
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 73
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 2 Dec 2026 12:12:51 +0200
X-Original-Message-ID: <3a6d545f-6cb2-4a5b-b462-82d3a51209e1@proteamail.com>
X-Original-References: <009301d4976d$80e815b0$82b84110$@tomsknet.ru> <009301d4976d$80e815b0$82b84110$@tomsknet.ru> <009301d4976d$80e815b0$82b84110$@tomsknet.ru>