Summary
The ClamAV container shipped with NS8 Mail 1.7.12 currently contains ClamAV 1.4.2-r0.
FreshClam reports:
WARNING: Your ClamAV installation is OUTDATED!
Local version: 1.4.2
Recommended version: 1.4.5
The signature database itself updates successfully. This report concerns the scanner engine packaged in the NS8 container, not the FreshClam database-update mechanism.
ClamAV 1.4.5 is a security patch release and fixes multiple vulnerabilities that also affect 1.4.2.
Official release information:
https://github.com/Cisco-Talos/clamav/releases/tag/clamav-1.4.5
Environment
-
NS8 Mail: 1.7.12
-
Container image:
ghcr.io/nethserver/mail-clamav:1.7.12 -
Image digest:
sha256:b21aced719c22a6989fec307d81613ee19557037844708970b07329853b9b98a -
Image creation date: 2026-06-26
-
Base OS: Alpine 3.21.7
-
Architecture: x86_64
-
Installed packages:
-
clamav-clamdscan-1.4.2-r0 -
clamav-daemon-1.4.2-r0 -
clamav-libs-1.4.2-r0 -
clamav-scanner-1.4.2-r0
-
Current runtime status
ClamAV is operational:
PONG
ClamAV 1.4.2/28073/Sun Jul 26 06:25:14 2026
FreshClam successfully updated and validated the official databases:
-
daily database: 28073
-
main database: 63
-
bytecode database: 339
-
database tests: passed
-
clamd notification/reload: successful
Therefore, FreshClam is working correctly. It cannot upgrade the ClamAV engine binary.
Cause identified
The NS8 Mail image is built from:
alpine:3.21.7
and installs the scanner through:
apk add --no-cache clamav-daemon clamav-scanner
apk add --no-cache freshclam
NS8 does not explicitly pin ClamAV 1.4.2. The version comes from the Alpine 3.21 community repository, which currently provides 1.4.2-r0.
Relevant NS8 source:
https://github.com/NethServer/ns8-mail/blob/1.7.12/build-images.sh
Alpine package information:
https://pkgs.alpinelinux.org/package/v3.21/community/x86_64/clamav
ClamAV 1.4.5 was released on 2026-07-01, after NS8 Mail 1.7.12 was built.
The current NS8 Mail main branch still uses Alpine 3.21.7. The general Alpine 3.22 upgrade is also currently blocked by the Dovecot 2.3 to 2.4 migration:
https://github.com/NethServer/ns8-mail/pull/202
Security impact
ClamAV 1.4.5 fixes several vulnerabilities affecting earlier versions, including 1.4.2. These include malformed-file parsing issues that may cause scanner crashes, memory corruption, excessive temporary-storage use, or scan-limit handling problems.
Because this instance processes untrusted Internet email attachments, we consider the engine update security-relevant rather than only a cosmetic version warning.
Requested resolution
Could NethServer please provide an official, supported update for the mail-clamav image containing ClamAV 1.4.5 or an officially backported equivalent?
Possible supported approaches could include:
-
Rebuilding only the
mail-clamavimage on a newer compatible Alpine base. -
Providing an official backported ClamAV 1.4.5 package for the existing image.
-
Using another tested packaging method that does not require upgrading every NS8 Mail container to the same Alpine version.
If only the ClamAV image is moved to a newer Alpine release, please verify:
-
compatibility with
clamav-unofficial-sigs; -
persistent official and unofficial signature volumes;
-
FreshClam notification and clamd reload;
-
Rspamd connectivity to clamd;
-
update and rollback behavior;
-
backup and restore compatibility.