#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(241516);
script_version("1.2");
script_set_attribute(attribute:"plugin_modification_date", value:"2025/08/19");
script_cve_id("CVE-2025-20234", "CVE-2025-20260");
script_xref(name:"IAVB", value:"2025-B-0098");
script_name(english:"ClamAV 0.99.4 < 1.0.9, 1.2.0 < 1.4.3 Multiple Vulnerabilities");
script_set_attribute(attribute:"synopsis", value:
"The antivirus running on the remote host is affected by multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"According to its version, the ClamAV clamd antivirus daemon running on the remote host is 0.99.4 prior to 1.0.9, 1.2.0
prior to 1.4.3. It is, therefore, affected by multiple vulnerabilities:
- A vulnerability in Universal Disk Format (UDF) processing of ClamAV could allow an unauthenticated,
remote attacker to cause a denial of service (DoS) condition on an affected device. This vulnerability
is due to a memory overread during UDF file scanning. An attacker could exploit this vulnerability by
submitting a crafted file containing UDF content to be scanned by ClamAV on an affected device. A
successful exploit could allow the attacker to terminate the ClamAV scanning process, resulting in a
DoS condition on the affected software. (CVE-2025-20234)
- A vulnerability in the PDF scanning processes of ClamAV could allow an unauthenticated, remote attacker
to cause a buffer overflow condition, cause a denial of service (DoS) condition, or execute arbitrary
code on an affected device. This vulnerability exists because memory buffers are allocated incorrectly
when PDF files are processed. An attacker could exploit this vulnerability by submitting a crafted PDF
file to be scanned by ClamAV on an affected device. A successful exploit could allow the attacker to
trigger a buffer overflow, likely resulting in the termination of the ClamAV scanning process and a DoS
condition on the affected software. Although unproven, there is also a possibility that an attacker could
leverage the buffer overflow to execute arbitrary code with the privileges of the ClamAV process.
(CVE-2025-20260)
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
# https://blog.clamav.net/2025/06/clamav-143-and-109-security-patch.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?88e9e146");
script_set_attribute(attribute:"solution", value:
"Upgrade to ClamAV version 1.0.9, 1.4.3 or later.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2025-20260");
script_set_attribute(attribute:"agent", value:"all");
script_set_attribute(attribute:"vuln_publication_date", value:"2025/06/18");
script_set_attribute(attribute:"patch_publication_date", value:"2025/06/18");
script_set_attribute(attribute:"plugin_publication_date", value:"2025/07/08");
script_set_attribute(attribute:"plugin_type", value:"combined");
script_set_attribute(attribute:"cpe", value:"cpe:/a:clamav:clamav");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_set_attribute(attribute:"stig_severity", value:"I");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2025 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("clamav_detect.nasl", "clamav_installed.nbin", "clamav_nix_installed.nbin");
script_require_keys("installed_sw/ClamAV");
exit(0);
}
include('vdf.inc');
# @tvdl-content
var vuln_data = {
'metadata': {'spec_version': '1.0'},
'checks': [
{
'product': {'name': 'ClamAV', 'type': 'app'},
'check_algorithm': 'default',
'constraints' : [
{ 'min_version' : '0.99.4', 'fixed_version' : '1.0.9' },
{ 'min_version' : '1.2.0', 'fixed_version' : '1.4.3' }
]
}
]
};
var vdf_result = vdf::check_and_report(vuln_data:vuln_data, severity:SECURITY_HOLE, check_backporting:TRUE);
vdf::handle_check_and_report_errors(vdf_result:vdf_result);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation