CVE-2022-22721: core: Possible buffer overflow with very large or unlimited LimitXMLRequestBody

CVE-2022-22721 affects 104 listed versions of Apache HTTP Server, Apple macOS in the Dawnsentry catalogue.

9.1CVSS critical
None knownexploitation
42%EPSS (next 30 days)
14 March 2022published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Apache HTTP Server

74 of 89 listed versions are affected. No fixed release is named. The newest release, 2.4.71, is not affected.

2.3.7 2.3.6 2.3.5 2.3.4 2.3.0 2.2.34 2.2.33 2.2.32 2.2.31 2.2.30 2.2.29 2.2.27 2.2.26 2.2.25 2.2.24 2.2.23 2.2.22 2.2.21 2.2.20 2.2.19 2.1.9 2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1 2.0.65 2.0.64 2.0.63 2.0.61 2.0.60 2.0.59 2.0.58 2.0.57 2.0.56 2.0.55 2.0.54 2.0.53 2.0.52 2.0.51 2.0.50 1.4.0 1.3.68 1.3.65 1.3.42 1.3.41 1.3.40 1.3.39 1.3.38 1.3.37 1.3.36 1.3.35 1.3.34 1.3.33 1.3.32 1.3.31 and 14 more

Apple macOS

30 of 250 listed versions are affected. Fixed in 12.4, 11.6.6. The newest release, 27.2.1, is not affected.

12.3.1 12.3 12.2.1 12.2 12.1 12.0.1 12.0.0 12.0 11.6.5 11.6.4 11.6.3 11.6.2 11.6.1 11.6 11.5.2 11.5.1 11.5 11.4 11.3.1 11.3 11.2.6 11.2.3 11.2.2 11.2.1 11.2.0 11.2 11.1.0 11.1 11.0.1 11.0

What it is

If LimitXMLRequestBody is set to allow request bodies larger than 350MB (defaults to 1M) on 32 bit systems an integer overflow happens which later causes out of bounds writes. This issue affects Apache HTTP Server 2.4.52 and earlier.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H (NVD)

Published by Apache Software Foundation on 14 March 2022. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2022-22721 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.