OpenSSL 3.0.0 < 3.0.24 Multiple Vulnerabilities
CMS_encrypt() and CMS_encrypt_ex() in OpenSSL loop indefinitely on EC certificates.
| Reporter | Title | Published | Views | Family All 318 |
|---|---|---|---|---|
| OpenSSL -- Multiple vulnerabilities | 17 Nov 202600:00 | – | freebsd | |
| OpenSSL -- Multiple vulnerabilities | 24 Nov 202600:00 | – | freebsd | |
| CVE-2026-107493 | 17 Nov 202608:14 | – | alpinelinux | |
| CVE-2026-107496 | 10 Nov 202618:14 | – | alpinelinux | |
| CVE-2026-107493 | 17 Nov 202608:24 | – | circl | |
| CVE-2026-107496 | 10 Nov 202618:44 | – | circl | |
| CVE-2026-84786 | 18 Nov 202604:17 | – | circl | |
| OpenSSL resource management error vulnerability | 10 Nov 202600:00 | – | cnnvd | |
| CVE-2026-107493 | 17 Nov 202608:14 | – | cve | |
| CVE-2026-107496 | 10 Nov 202618:14 | – | cve |
10
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(378066);
script_version("1.6");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/11/27");
script_cve_id("CVE-2026-107493", "CVE-2026-107496", "CVE-2026-84786");
script_xref(name:"IAVA", value:"2026-A-1357");
script_name(english:"OpenSSL 3.0.0 < 3.0.24 Multiple Vulnerabilities");
script_set_attribute(attribute:"synopsis", value:
"The remote service is affected by multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"The version of OpenSSL installed on the remote host is prior to 3.0.24. It is, therefore, affected by multiple
vulnerabilities as referenced in the 3.0.24 advisory.
- Issue summary: A DANE-enabled TLS client may crash by dereferencing a NULL pointer when processing an
unusual combination of certificate and TLSA records. Impact summary: The impact is limited to a client
crash (potential Denial of Service). CWE: CWE-476: NULL Pointer Dereference Description: A DANE-enabled
TLS client that supports TLSA records with at least one of the PKIX-TA(0) or PKIX-EE(1) usages alongside
the DANE-TA(2) usage may crash by dereferencing a NULL pointer if the server claims a trusted CA's
certificate to be its end-entity certificate and has an unusual mix of associated TLSA records. DANE SMTP
clients should not be affected since only the DANE-TA(2) and DANE-EE(3) TLSA record usages are specified
applicable in SMTP. For example, the Postfix MTA is not affected, while the Exim MTA does not at present
use OpenSSL's DANE implementation. Use of DANE in validation of RFC7250 raw public keys (RPKs) is also
unaffected, as these only use DANE-EE(3) TLSA records. Only applications that support combining the DANE
PKI with a traditional PKI are potentially affected. A DANE-enabled browser or similar, that uses
OpenSSL's DANE API could be affected. FIPS impact: no The DANE API is outside the FIPS module boundary.
(CVE-2026-84786)
- Issue summary: When an application passes a stack to PEM_X509_INFO_read_bio_ex() to add entries to, and
reading fails, OpenSSL frees every entry in the stack, both the old ones and any new ones, but leaves them
in the stack. Impact summary: An application that passes an existing stack to PEM_X509_INFO_read_bio_ex()
and keeps using it after a failed read may use memory that was already freed. This can cause a crash or,
in principle, memory corruption. Malformed PEM data can make the read fail, but only applications that
pass an existing stack are affected, and OpenSSL itself does not do this. CWE: CWE-416: Use After Free
Description: PEM_X509_INFO_read_bio_ex() reads certificates, CRLs and private keys from PEM data and adds
them to a stack of X509_INFO structures. If the application passes a stack that is not NULL, the function
adds the new entries to it and must leave the entries that are already there unchanged. If reading fails,
the function frees every entry in the stack. This includes the entries that were there before the call,
and the entries added by the call. It does not remove these entries from the stack, so the stack keeps
pointers to freed memory. The failure can happen at any point, even before any entry was added. A PEM item
with invalid content is enough. This also happens if the stack was empty: entries added before the failure
are freed but stay in the stack. An application that then reads or frees the stack will use memory that
was already freed. This can crash the application or, in principle, corrupt memory. Only applications that
pass a stack that is not NULL are affected. OpenSSL itself never does this. Its own callers, including the
code that TLS uses to load CA certificates, always pass NULL. When the stack is NULL, the function frees
only the entries that it created itself, which is safe. We expect that very few applications pass an
existing stack. An attacker can make the read fail with malformed PEM data, but cannot make an application
pass an existing stack. The same problem affects PEM_X509_INFO_read_bio(), PEM_X509_INFO_read() and
PEM_X509_INFO_read_ex(), which use the same code. OpenSSL 1.1.1 and 1.0.2 have only the first two of these
functions. FIPS impact: no The affected code is outside the FIPS module boundary. (CVE-2026-107493)
- Issue summary: Encrypting a CMS message to an EC certificate whose group order is 1 may cause
CMS_encrypt() or CMS_encrypt_ex() to loop indefinitely. Impact summary: An attacker able to supply the
recipient certificate to an application performing CMS encryption can cause that application to loop
indefinitely, consuming CPU and resulting in Denial of Service. CWE: CWE-835: Loop with Unreachable Exit
Condition ('Infinite Loop') Description: CMS_encrypt() and CMS_encrypt_ex() encrypt a message to one or
more recipient certificates and, for an EC recipient, generate an ephemeral key in the recipient's group.
If the certificate declares a group order of 1, random scalar generation can only produce zero. The key
generation routine then retries without limit while waiting for a nonzero private scalar, so the call
never returns. The OpenSSL TLS and QUIC implementations do not use this path. An application is exposed
only if it calls CMS_encrypt() or CMS_encrypt_ex() with a recipient certificate whose EC parameters are
attacker-controlled. Certificates with normal EC group orders do not trigger the loop. OpenSSL 4.0 and
later reject unknown explicit EC groups in default builds. These versions are affected only when
configured with the enable-ec_explicit_curves option. The result is a hang that consumes a CPU core until
the process is interrupted, a Denial of Service. The severity is Low because the attacker must supply the
recipient certificate and the application must choose to encrypt to it; ordinary CMS encryption to trusted
recipients is unaffected. The fix makes EC key generation fail when the group has no valid nonzero private
scalar, instead of retrying indefinitely. FIPS impact: no The FIPS modules in 4.1, 4.0, 3.5 and 3.0 are
not affected. The FIPS provider does not support arbitrary explicit EC domain parameters, so an order-1
group is rejected during key import before the vulnerable key generation path is reached.
(CVE-2026-107496)
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
script_set_attribute(attribute:"see_also", value:"https://openssl-library.org/news/secadv/20261110.txt");
script_set_attribute(attribute:"see_also", value:"https://openssl-library.org/news/secadv/20261117.txt");
script_set_attribute(attribute:"see_also", value:"https://openssl-library.org/news/secadv/20261124.txt");
# https://openssl-library.org/policies/general/security-policy/index.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?eac4598c");
script_set_attribute(attribute:"see_also", value:"https://www.cve.org/CVERecord?id=CVE-2026-107493");
script_set_attribute(attribute:"see_also", value:"https://www.cve.org/CVERecord?id=CVE-2026-107496");
script_set_attribute(attribute:"see_also", value:"https://www.cve.org/CVERecord?id=CVE-2026-84786");
script_set_attribute(attribute:"solution", value:
"Upgrade to OpenSSL version 3.0.24 or later.");
script_set_attribute(attribute:"agent", value:"all");
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-84786");
script_set_attribute(attribute:"cvss3_score_source", value:"CVE-2026-107493");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vuln_publication_date", value:"2026/11/10");
script_set_attribute(attribute:"patch_publication_date", value:"2026/11/10");
script_set_attribute(attribute:"plugin_publication_date", value:"2026/11/10");
script_set_attribute(attribute:"plugin_type", value:"combined");
script_set_attribute(attribute:"cpe", value:"cpe:/a:openssl:openssl");
script_set_attribute(attribute:"generated_plugin", value:"current");
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:"Web Servers");
script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("openssl_version.nasl", "openssl_nix_installed.nbin", "openssl_win_installed.nbin");
script_require_keys("installed_sw/OpenSSL");
exit(0);
}
include('vcf.inc');
include('vcf_extras_openssl.inc');
var app_info = vcf::combined_get_app_info(app:'OpenSSL');
vcf::check_all_backporting(app_info:app_info);
var constraints = [
{ 'min_version' : '3.0.0', 'fixed_version' : '3.0.24' }
];
vcf::openssl::check_version_and_report(
app_info:app_info,
constraints:constraints,
severity:SECURITY_WARNING
);
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
27 Nov 2026 00:00Current
6.1Medium risk
Vulners AI Score6.1
CVSS 3.17.7
EPSS0.00493
SSVC