🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Edmund Lodewijks Wed, 02 Dec 2026 10:20
Bug#916827: clamav UTF8 filenames
#7136
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads