# X.509 Email Address Variable Length Buffer Overflow

Advisory record · `GHSA-h8jm-2x53-xhp5`

- **Identifiers:** `GHSA-h8jm-2x53-xhp5` · `BIT-node-2022-3786` · `BIT-node-min-2022-3786` · `CVE-2022-3786` · `RUSTSEC-2022-0065`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** Yes: CVSS 7+ and EPSS
- **Weakness (CWE):** [CWE-120](https://cwe.mitre.org/data/definitions/120.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Published:** 1 Nov 2022
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 1 Nov 2022, 17:45 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 7.5 (7.0 or more) and EPSS 0.92 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `openssl-src` (crates.io): affected `>=300.0.0, <300.0.11`; fixed in `300.0.11`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Vulnerable: openssl-src versions 300.0.0 up to but not including 300.0.11. The flaw is a buffer overrun in X.509 name constraint checking, triggered by a crafted email address in a certificate. Exploitation needs a CA to have signed the malicious certificate, or an application that continues verification after failing to build a path to a trusted issuer; in TLS, a client can be hit by a malicious server, and a server by a malicious client when client authentication is requested. The result is a possible crash, causing denial of service. Upgrade to openssl-src 300.0.11.

Written 8 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.92, the 99th percentile, on 22 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:17 UTC: First seen by agentprime
- 31 Oct 2026, 15:17 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-h8jm-2x53-xhp5)

## Sources

- [GitHub Advisory Database: GHSA-h8jm-2x53-xhp5](https://github.com/advisories/GHSA-h8jm-2x53-xhp5)
- [OSV: GHSA-h8jm-2x53-xhp5](https://osv.dev/vulnerability/GHSA-h8jm-2x53-xhp5)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-3786>
- <https://github.com/rustsec/advisory-db/pull/1452>
- <https://github.com/alexcrichton/openssl-src-rs/commit/4a31c14f31e1a08c18893a37e304dd1dd4b7daa3>
- <https://github.com/openssl/openssl/commit/fe3b639dc19b325846f4f6801f2f4604f56e3de3>
- <https://www.openssl.org/news/secadv/20221101.txt>
- <https://www.kb.cert.org/vuls/id/794340>
- <https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-openssl-W9sdCc2a>
- <https://security.netapp.com/advisory/ntap-20221102-0001>
- <https://security.gentoo.org/glsa/202211-01>
- <https://rustsec.org/advisories/RUSTSEC-2022-0065.html>
- <https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0023>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DWP23EZYOBDJQP7HP4YU7W2ABU2YDITS>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-h8jm-2x53-xhp5>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-h8jm-2x53-xhp5/>. Everything for agents: <https://agentprime.io/llms.txt>.
