Hi,
We were trying to reproduce the core but could not. In the previous message the error was because we made a mistake in the clamd.conf file while attempting to reproduce.
We are able to scan the file you mentioned. Kindly see our output and clamd file. Let us know how you are scanning which will help us resolve the issue.
Did you set ulimits to unlimited?
/opt/freeware/sbin/clamd --config-file=/clamd.conf
# clamdscan --config-file=/clamd.conf --verbose --fdpass --multiscan /opt/freeware/lib/python3.9/ensurepip/_bundled/setuptools-58.1.0-py3-none-any.whl
/opt/freeware/lib/python3.9/ensurepip/_bundled/setuptools-58.1.0-py3-none-any.whl: OK
----------- SCAN SUMMARY -----------
Infected files: 0
Time: 0.030 sec (0 m 0 s)
Start Date: 2025:10:12 03:37:33
End Date: 2025:10:12 03:37:33
# cat clamd.conf
# Path to the virus database (adjust to your distro's db path)
DatabaseDirectory /var/lib/clamav
# Path to the unix socket or TCP port clamd will listen on.
# Use one of the two options below (uncomment the one you want).
# TCP
TCPSocket 3310
TCPAddr 127.0.0.1
# Allow clamd to use multiple threads (optional)
# Detects number of CPUs if set to 0
MaxThreads 4
# Temporary directory for unarchiving files
TemporaryDirectory /tmp
# Do not log verbose by default (set to yes for debugging)
LogVerbose yes
LogFile /var/clamav/clamd.log
LogTime yes
# Allow scanning compressed files
ScanArchive yes
# Size limits (adjust if you need bigger file support)
# MaxFileSize 25M
# MaxScanSize 100M
# Run as user/group (uncomment and adjust as needed)
User root
# Example: on some distros the user/group is 'clamav' or 'clamd'
# AllowSupplementaryGroups yes
# Leave example warning comment
# For production review the whole config and your distro's defaults.