# CVE-2022-3212: DoS in axum-core due to missing request size limit

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 0.2.8 (CNA); fix release not confirmed
- Status: published
- Published: 2022-09-14 · Modified: 2024-08-03
- Aliases: GHSA-m77f-652q-wwp4, RUSTSEC-2022-0055
- Record: https://cvemate.com/vulnerability/CVE-2022-3212 · JSON: https://cvemate.com/vulnerability/CVE-2022-3212/json

## Description

```text
<bytes::Bytes as axum_core::extract::FromRequest>::from_request would not, by default, set a limit for the size of the request body. That meant if a malicious peer would send a very large (or infinite) body your server might run out of memory and crash. This also applies to these extractors which used Bytes::from_request internally: axum::extract::Form axum::extract::Json String
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.054%, percentile 65.5%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected

- axum-core\_project axum-core: \< 0.2.8 \| 0.3.0:rc1
- Crates.Io axum-core (Crates.Io): \< 0.2.8 \| ≥ 0.3.0-rc.1, \< 0.3.0-rc.2
- tokio-rs axum-core: 0.3.0-rc.1 \| ≥ unspecified, \< 0.2.8

## References

- <https://research.jfrog.com/vulnerabilities/axum-core-dos/>
- <https://rustsec.org/advisories/RUSTSEC-2022-0055.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-3212>
- <https://github.com/tokio-rs/axum/pull/1346>
- <https://github.com/tokio-rs/axum>
- <https://crates.io/crates/axum-core>

---

Data as of 2026-12-05T11:05:10.561Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
