* [Buildroot] [PATCH 1/1] package/clamav: security bump version to 1.5.5
@ 2026-11-18 18:20 Bernd Kuhls
2026-11-18 18:31 ` Julien Olivain via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2026-11-18 18:20 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Perale
https://blog.clamav.net/2026/11/clamav-155-147-security-patch-release.html
Fixes CVE-2026-76411, CVE-2026-76414, CVE-2026-76415, CVE-2026-76416,
CVE-2026-76417, CVE-2026-76421, CVE-2026-76422, CVE-2026-76430,
CVE-2026-76515 & CVE-2026-76516.
Removed patch which is not needed anymore due to upstream commit
https://github.com/Cisco-Talos/clamav/commit/f15e90cfa57753b6c475bafe044e071853215bfa
which fixes the problem differently:
"Keep cl_ASN1_GetTimeT() through 1.5 so code built against clamav.h
keeps working, and mark it deprecated. main removes it for 1.6"
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/14acf3869f3d455ee176f156b7f8b28617904cce
...-crypto-Remove-cl_ASN1_GetTimeT-1731.patch | 136 ------------------
package/clamav/clamav.hash | 2 +-
package/clamav/clamav.mk | 2 +-
3 files changed, 2 insertions(+), 138 deletions(-)
delete mode 100644 package/clamav/0001-libclamav-crypto-Remove-cl_ASN1_GetTimeT-1731.patch
diff --git a/package/clamav/0001-libclamav-crypto-Remove-cl_ASN1_GetTimeT-1731.patch b/package/clamav/0001-libclamav-crypto-Remove-cl_ASN1_GetTimeT-1731.patch
deleted file mode 100644
index 60e29a1fdb..0000000000
--- a/package/clamav/0001-libclamav-crypto-Remove-cl_ASN1_GetTimeT-1731.patch
+++ /dev/null
@@ -1,136 +0,0 @@
-From 0097a6f99d9f6b78381e12b677a38fb62242c41a Mon Sep 17 00:00:00 2001
-From: sebastianas <sebastianas@users.noreply.github.com>
-Date: Sat, 1 Aug 2026 00:13:13 +0200
-Subject: [PATCH] libclamav/crypto: Remove cl_ASN1_GetTimeT() (#1731)
-
-The last user has been removed in commit fa15aa98c7d5e ("bb11594 - allow
-for compilation against openssl 1.1.0"). This function is only exported
-under CLAMAV_PRIVATE to be used within clamav, not by external users.
-
-Removing the function will not cause an ABI break since it was not part
-of the officially exported ABI. As a side effect it will compile against
-OpenSSL 4.0 where the ASN1_TIME type has been made opaque.
-
-Remove cl_ASN1_GetTimeT().
-
-Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
-
-Upstream: https://github.com/Cisco-Talos/clamav/commit/0097a6f99d9f6b78381e12b677a38fb62242c41a
-
-Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
----
- libclamav/clamav.h | 8 -----
- libclamav/crypto.c | 65 -----------------------------------------
- libclamav/libclamav.map | 1 -
- 3 files changed, 74 deletions(-)
-
-diff --git a/libclamav/clamav.h b/libclamav/clamav.h
-index 8a3767f78..fa75677ad 100644
---- a/libclamav/clamav.h
-+++ b/libclamav/clamav.h
-@@ -2413,14 +2413,6 @@ extern int cl_validate_certificate_chain(char **authorities, char *crlpath, char
- */
- extern X509 *cl_load_cert(const char *certpath);
-
--/**
-- * @brief Parse an ASN1_TIME object.
-- *
-- * @param timeobj The ASN1_TIME object.
-- * @return A pointer to a (struct tm). Adjusted for time zone and daylight savings time.
-- */
--extern struct tm *cl_ASN1_GetTimeT(ASN1_TIME *timeobj);
--
- /**
- * @brief Load a CRL file into an X509_CRL object.
- *
-diff --git a/libclamav/crypto.c b/libclamav/crypto.c
-index 8b398e402..968264811 100644
---- a/libclamav/crypto.c
-+++ b/libclamav/crypto.c
-@@ -1746,71 +1746,6 @@ X509 *cl_load_cert(const char *certpath)
- return cert;
- }
-
--struct tm *cl_ASN1_GetTimeT(ASN1_TIME *timeobj)
--{
-- struct tm *t;
-- char *str;
-- const char *fmt = NULL;
-- time_t localt;
--#ifdef _WIN32
-- struct tm localtm, *ltm;
--#else
-- struct tm localtm;
--#endif
--
-- if (!(timeobj) || !(timeobj->data))
-- return NULL;
--
-- str = (char *)(timeobj->data);
-- if (strlen(str) < 12)
-- return NULL;
--
-- t = (struct tm *)calloc(1, sizeof(struct tm));
-- if (!(t))
-- return NULL;
--
-- if (timeobj->type == V_ASN1_UTCTIME) {
-- /* two digit year */
-- fmt = "%y%m%d%H%M%S";
-- if (str[3] == '0') {
-- str[2] = '0';
-- str[3] = '9';
-- } else {
-- str[3]--;
-- }
-- } else if (timeobj->type == V_ASN1_GENERALIZEDTIME) {
-- /* four digit year */
-- fmt = "%Y%m%d%H%M%S";
-- if (str[5] == '0') {
-- str[4] = '0';
-- str[5] = '9';
-- } else {
-- str[5]--;
-- }
-- }
--
-- if (!(fmt)) {
-- free(t);
-- return NULL;
-- }
--
-- if (!strptime(str, fmt, t)) {
-- free(t);
-- return NULL;
-- }
--
-- /* Convert to local time */
-- localt = time(NULL);
--#ifdef _WIN32
-- ltm = localtime(&localt);
-- memcpy((void *)(&localtm), (void *)ltm, sizeof(struct tm));
--#else
-- localtime_r(&localt, &localtm);
--#endif
-- t->tm_isdst = localtm.tm_isdst;
-- return t;
--}
--
- X509_CRL *cl_load_crl(const char *file)
- {
- X509_CRL *x = NULL;
-diff --git a/libclamav/libclamav.map b/libclamav/libclamav.map
-index 809341f42..f3efe1a33 100644
---- a/libclamav/libclamav.map
-+++ b/libclamav/libclamav.map
-@@ -271,7 +271,6 @@ CLAMAV_PRIVATE {
- cl_verify_signature_hash_x509;
- cl_verify_signature_hash_x509_keyfile;
- cl_load_cert;
-- cl_ASN1_GetTimeT;
- cl_load_crl;
- cl_sign_data_keyfile;
- cl_sign_data;
---
-2.47.3
-
diff --git a/package/clamav/clamav.hash b/package/clamav/clamav.hash
index 2daa66494f..9157c31338 100644
--- a/package/clamav/clamav.hash
+++ b/package/clamav/clamav.hash
@@ -1,5 +1,5 @@
# Locally calculated
-sha256 1af1117a228f1b5bc7fa91a0dabc37848a99e7d25188e9be8043332ce721dfd3 clamav-1.5.4.tar.gz
+sha256 90284644e5568732c15fc4f4312fd0f09ac14c14e5b29fba3909d4da4e281b1e clamav-1.5.5.tar.gz
sha256 0c4fd2fa9733fc9122503797648710851e4ee6d9e4969dd33fcbd8c63cd2f584 COPYING.txt
sha256 d72a145c90918184a05ef65a04c9e6f7466faa59bc1b82c8f6a8ddc7ddcb9bed COPYING/COPYING.bzip2
sha256 dfb818a0d41411c6fb1c193c68b73018ceadd1994bda41ad541cbff292894bc6 COPYING/COPYING.file
diff --git a/package/clamav/clamav.mk b/package/clamav/clamav.mk
index 1777366fef..77b996247f 100644
--- a/package/clamav/clamav.mk
+++ b/package/clamav/clamav.mk
@@ -4,7 +4,7 @@
#
################################################################################
-CLAMAV_VERSION = 1.5.4
+CLAMAV_VERSION = 1.5.5
CLAMAV_SITE = https://www.clamav.net/downloads/production
CLAMAV_LICENSE = GPL-2.0
CLAMAV_LICENSE_FILES = \
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [Buildroot] [PATCH 1/1] package/clamav: security bump version to 1.5.5
2026-11-18 18:20 [Buildroot] [PATCH 1/1] package/clamav: security bump version to 1.5.5 Bernd Kuhls
@ 2026-11-18 18:31 ` Julien Olivain via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Julien Olivain via buildroot @ 2026-11-18 18:31 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot, Thomas Perale
On 18/11/2026 19:20, Bernd Kuhls wrote:
> https://blog.clamav.net/2026/11/clamav-155-147-security-patch-release.html
>
> Fixes CVE-2026-76411, CVE-2026-76414, CVE-2026-76415, CVE-2026-76416,
> CVE-2026-76417, CVE-2026-76421, CVE-2026-76422, CVE-2026-76430,
> CVE-2026-76515 & CVE-2026-76516.
>
> Removed patch which is not needed anymore due to upstream commit
> https://github.com/Cisco-Talos/clamav/commit/f15e90cfa57753b6c475bafe044e071853215bfa
> which fixes the problem differently:
> "Keep cl_ASN1_GetTimeT() through 1.5 so code built against clamav.h
> keeps working, and mark it deprecated. main removes it for 1.6"
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-18 18:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18 18:20 [Buildroot] [PATCH 1/1] package/clamav: security bump version to 1.5.5 Bernd Kuhls
2026-11-18 18:31 ` Julien Olivain via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox