# GHSA-fh2r-99q2-6mmg: rustls-webpki: CPU denial of service in certificate path building

- Severity: High 7.5 (CVSS:3.0, scored by GitHub) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-08-22T12:00:00.000Z
- Modified: 2026-09-10T03:49:57.616Z
- Also known as: RUSTSEC-2023-0053
- Related: CVE-2018-16875
- Weaknesses: CWE-400

## Description

When this crate is given a pathological certificate chain to validate, it will spend CPU time exponential with the number of candidate certificates at each step of path building.

Both TLS clients and TLS servers that accept client certificate are affected.

We now give each path building operation a budget of 100 signature verifications.

The original `webpki` crate is also affected, see [GHSA-8qv2-5vq6-g2g7](https://github.com/advisories/GHSA-8qv2-5vq6-g2g7).

This was previously reported in the original crate <https://github.com/briansmith/webpki/issues/69> and re-reported to us recently.

(As written by GitHub Advisory Database.)

## Affected

- rustls-webpki (crates.io): before 0.100.2; from 0.101.0 before 0.101.4; from 0.0.0-0 before 0.100.2

## Every score

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

## References

- <https://github.com/rustls/webpki/commit/4ea052366f342a06344aab589565179b59b342d3> (web)
- <https://github.com/rustls/webpki/commit/dcad2406c92169b72c110dd12183fcc74035b683> (web)
- <https://github.com/advisories/GHSA-8qv2-5vq6-g2g7> (advisory)
- <https://github.com/rustls/webpki> (package)
- <https://rustsec.org/advisories/RUSTSEC-2023-0053.html> (advisory, web)
- <https://crates.io/crates/rustls-webpki> (package)

## Sources

- GitHub Advisory Database: [GHSA-fh2r-99q2-6mmg](https://github.com/advisories/GHSA-fh2r-99q2-6mmg), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2023-0053](https://rustsec.org/advisories/RUSTSEC-2023-0053.html), CC0-1.0, modified 2026-02-04

---

Page: https://cve.day/GHSA-fh2r-99q2-6mmg · Whole record: https://cve.day/GHSA-fh2r-99q2-6mmg.json · Rebuilt by cve.day 2026-11-25T22:56:43.152Z
