# Invalid handling of \`X509_verify_cert()\` internal errors in libssl

Advisory record · `GHSA-mmjf-f5jw-w72q`

- **Identifiers:** `GHSA-mmjf-f5jw-w72q` · `BIT-node-2021-4044` · `BIT-node-min-2021-4044` · `CVE-2021-4044` · `RUSTSEC-2021-0129`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** Yes: CVSS 7+ and EPSS
- **Weakness (CWE):** [CWE-835](https://cwe.mitre.org/data/definitions/835.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 15 Dec 2021
- **Updated:** 16 Dec 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 15 Dec 2021, 00:00 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.50 (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.4`; fixed in `300.0.4`

## Machine-written summary

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

> The openssl-src crate versions 300.0.0 up to but not including 300.0.4 are affected. The issue lies in how libssl handles an internal error from X509_verify_cert() during client-side certificate verification, which can make SSL_get_error() return an unexpected value and cause the application to crash or loop. An attacker controlling a server that the client connects to could trigger this, possibly with a valid certificate chain. Upgrade to openssl-src 300.0.4 or later.

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.50, the 98th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:20 UTC: First seen by agentprime
- 31 Oct 2026, 15:20 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-mmjf-f5jw-w72q)

## Sources

- [GitHub Advisory Database: GHSA-mmjf-f5jw-w72q](https://github.com/advisories/GHSA-mmjf-f5jw-w72q)
- [OSV: GHSA-mmjf-f5jw-w72q](https://osv.dev/vulnerability/GHSA-mmjf-f5jw-w72q)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-4044>
- <https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=758754966791c537ea95241438454aa86f91f256>
- <https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=758754966791c537ea95241438454aa86f91f256>
- <https://rustsec.org/advisories/RUSTSEC-2021-0129.html>
- <https://security.netapp.com/advisory/ntap-20211229-0003>
- <https://www.openssl.org/news/secadv/20211214.txt>

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-mmjf-f5jw-w72q>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-mmjf-f5jw-w72q/>. Everything for agents: <https://agentprime.io/llms.txt>.
