VDB

CVE-2022-3786

CVE-2022-3786 PUBLISHED CVSS 9.300000190734863 CRITICAL

X.509 Email Address Variable Length Buffer Overflow

Reported by openssl · Published November 1, 2022

openssl-src is fixed in 300.0.11 and 300.0.0 (crates.io)

A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed a malicious certificate or for an application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address in a certificate to overflow an arbitrary number of bytes containing the `.' character (decimal 46) on the stack. This buffer overflow could result in a crash (causing a denial of service). In a TLS client, this can be triggered by connecting to a malicious server. In a TLS server, this can be triggered if the server requests client authentication and a malicious client connects.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
openssl-srccrates.io300.0.11, 300.0.0
openssl-develAmazon Linux1:3.0.5-1.amzn2023.0.4
npmAmazon Linux1:8.19.2-1.18.12.1.1.amzn2023.0.2
openssl-perlAmazon Linux1:3.0.5-1.amzn2023.0.4
nodejsAmazon Linux1:18.12.1-1.amzn2023.0.2
openssl-libsAmazon Linux1:3.0.5-1.amzn2023.0.4
opensslAlpine3.0.7-r0
nodejsAlpine18.12.1-r0
node-minBitnami19.0.1, 18.12.1, 18.11.0
openssl3Alpine3.0.7-r0
opensslChainguard3.0.7-r0
nodejs-libsAmazon Linux1:18.12.1-1.amzn2023.0.2

21 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
OpenSSLOpenSSL3.0.0
amazon:2023openssl-devel0
amazon:2023npm0
amazon:2023openssl-perl0
amazon:2023nodejs0
amazon:2023openssl-libs0
SiemensMcenter5.2.1
alpineopenssl0
alpinenodejs0
SiemensSCALANCE X204RNA (HSR)3.2.7
alpineopenssl30
SiemensSCALANCE X204RNA EEC (HSR)3.2.7
chainguardruby-3.1*
SiemensSCALANCE X204RNA EEC (PRP/HSR)3.2.7
chainguardopenssl0
SiemensSICAM GridPass1.80
amazon:2023nodejs-libs0
amazon:2023nodejs-devel0
SiemensSCALANCE X204RNA (PRP)3.2.7
SiemensSIMATIC RTLS Locating Manager2.13.0.0

…and 11 more

Timeline

  • Nov 1, 2022 CVE Published
  • Nov 2, 2022 EPSS Score (30 in total, the first dated here)
  • Oct 9, 2024 PoC Published (4 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (11 in total, the first dated here)
  • Apr 14, 2026 CVE Updated
  • Jun 19, 2026 Coalition ESS Score
  • Nov 14, 2026 Distribution Patch (3 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-3786
vulnetix vdb fixes CVE-2022-3786

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-3786/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 2 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›