Skip to main content
Public proof of conceptFix available

CVE-2021-23840

A public proof of concept exists; no exploitation attested.

  • Published2021-02-16
  • Fixed in15.10.0 · 12.21.0 · 10.24.0
  • WeaknessCWE-190

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output length value will be negative. This could cause applications to behave incorrectly or crash. OpenSSL versions 1.1.1i and below are affected by this issue. Users of these versions should upgrade to OpenSSL 1.1.1j. OpenSSL versions 1.0.2x and below are affected by this issue. However OpenSSL 1.0.2 is out of support and no longer receiving public updates. Premium support customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should upgrade to 1.1.1j. Fixed in OpenSSL 1.1.1j (Affected 1.1.1-1.1.1i). Fixed in OpenSSL 1.0.2y (Affected 1.0.2-1.0.2x).

Timeline

dates in UTC
  1. 2021-02-1617:15CVE publishedNVD
  2. 2026-10-2319:23First public proof of conceptPoC-in-GitHub
  3. 2026-10-2319:23EPSS crossed 10 %FIRST EPSS

Observed activity

isMalicious corpus · updated 2026-10-23 18:48 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2021-23840?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2021-23840?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
Node.js
BranchAffectedFixed in
15.x≥ 15.0.0, < 15.10.015.10.0
12.x≥ 12.13.0, < 12.21.012.21.0
10.x≥ 10.13.0, < 10.24.010.24.0
10.x≥ 10.0.0, ≤ 10.12.0no fix published
12.x≥ 12.0.0, ≤ 12.12.0no fix published
14.x≥ 14.0.0, ≤ 14.14.0no fix published
14.15= 14.15.0no fix published
Tenable nessus network monitor
BranchAffectedFixed in
5.11= 5.11.0no fix published
5.11= 5.11.1no fix published
5.12= 5.12.0no fix published
5.12= 5.12.1no fix published
5.13= 5.13.0no fix published
Oracle business intelligence
BranchAffectedFixed in
5.5= 5.5.0.0.0no fix published
5.9= 5.9.0.0.0no fix published
12.2= 12.2.1.3.0no fix published
12.2= 12.2.1.4.0no fix published

18 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Vendor advisories

  • ICSA-22-130-06 CISA2 known affected

    Mitsubishi Electric MELSOFT GT OPC UA

    GT SoftGOT2000: Versions 1.215Z to 1.270G · MELSOFT GT OPC UA Client: Versions 1.00A to 1.02C

Full record on NVD

Fix

  1. Update Node.js to 15.10.0 · 12.21.0 · 10.24.0
  2. Vendor fix CISA ICSA-22-130-06 · 2 productsUpdate MELSOFT GT OPC UA Client: Update to 1.03D or later
  3. Mitigation from the vendor CISA ICSA-22-130-06 · 2 productsMitsubishi Electric recommends users update software
  4. Mitigation from the vendor CISA ICSA-22-130-06 · 2 productsUpdate GT SoftGOT2000: Update to 1.275M or later
  5. Mitigation from the vendor CISA ICSA-22-130-06 · 2 productsWhen connecting the products to the Internet, use a virtual private network (VPN, etc.) to prevent spoofing and sniffing.
  6. Mitigation from the vendor CISA ICSA-22-130-06 · 2 productsUse the products within the LAN and block access from untrusted networks and hosts.
  7. Mitigation from the vendor CISA ICSA-22-130-06 · 2 productsUpdate the OPC UA server to the latest version.

Advisories and patches

Detection

read 2026-10-23 19:23 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
1 repository, unverifiedTrinadh465/openssl-1.1.1g_CVE-2021-23840
PoC-in-GitHub

Sources

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2021-02-16
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2021-23840?

Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output length value will be negative. This could cause applications to behave incorrectly or crash. OpenSSL versions 1.1.1i and below are affected by this issue. Users of these versions should upgrade to OpenSSL 1.1.1j. OpenSSL versions 1.0.2x and below are affected by this issue. However OpenSSL 1.0.2 is out of support and no longer receiving public updates. Premium support customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should upgrade to 1.1.1j. Fixed in OpenSSL 1.1.1j (Affected 1.1.1-1.1.1i). Fixed in OpenSSL 1.0.2y (Affected 1.0.2-1.0.2x).

Is CVE-2021-23840 actively exploited?

Active exploitation of CVE-2021-23840 has not been confirmed. Its EPSS score was 50.7% on 2026-10-22, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-23840?

CVE-2021-23840 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month