Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-22721

CVE-2022-22721: Apache HTTP Server Buffer Overflow Flaw

CVE-2022-22721 is a buffer overflow vulnerability in Apache HTTP Server affecting 32-bit systems with large XML request bodies. This article covers the technical details, affected versions, security impact, and mitigation.

Published: February 17, 2026

CVE-2022-22721 Overview

CVE-2022-22721 is a critical integer overflow vulnerability affecting Apache HTTP Server versions 2.4.52 and earlier running on 32-bit systems. When the LimitXMLRequestBody directive is configured to allow request bodies larger than 350MB (the default limit is 1MB), an integer overflow occurs during size calculations. This overflow subsequently causes out-of-bounds writes, potentially allowing attackers to corrupt memory and compromise system integrity or availability.

Critical Impact

Remote attackers can exploit this integer overflow to cause out-of-bounds memory writes on vulnerable 32-bit Apache HTTP Server installations, potentially leading to denial of service or arbitrary code execution.

Affected Products

  • Apache HTTP Server versions up to and including 2.4.52
  • Fedora 34, 35, and 36
  • Debian Linux 9.0
  • Oracle Enterprise Manager Ops Center 12.4.0.0
  • Oracle HTTP Server 12.2.1.3.0 and 12.2.1.4.0
  • Oracle ZFS Storage Appliance Kit 8.8
  • Apple macOS and Mac OS X (various versions through security updates)

Discovery Timeline

  • March 14, 2022 - CVE-2022-22721 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-22721

Vulnerability Analysis

This vulnerability is classified as CWE-190 (Integer Overflow or Wraparound). The flaw exists in how Apache HTTP Server handles XML request body size calculations on 32-bit architectures. When administrators configure LimitXMLRequestBody to permit request bodies exceeding 350MB, the server performs arithmetic operations on the request size that can exceed the maximum value representable by a 32-bit signed integer.

The integer overflow causes the calculated buffer size to wrap around to a much smaller value than the actual request size. Subsequently, when the server allocates memory based on this incorrect calculation and attempts to write the full request body into the undersized buffer, out-of-bounds writes occur. This can corrupt adjacent memory regions, crash the server, or potentially allow attackers to gain control of execution flow.

Root Cause

The root cause is improper integer handling in the XML request body processing code when operating on 32-bit systems. The LimitXMLRequestBody directive accepts values up to 2GB, but on 32-bit systems, size calculations involving values above approximately 350MB can overflow signed 32-bit integers. The default 1MB limit prevents this issue under normal configurations, but administrators who increase this limit to accommodate large XML payloads inadvertently expose their systems to this vulnerability.

Attack Vector

Exploitation requires network access to a vulnerable Apache HTTP Server. An attacker can craft a malicious HTTP request containing an XML body larger than 350MB targeting a 32-bit server where LimitXMLRequestBody has been increased above this threshold. No authentication is required, and no user interaction is needed.

The attack flow involves:

  1. Identifying a 32-bit Apache HTTP Server with an elevated LimitXMLRequestBody setting
  2. Sending an HTTP request with a specially crafted XML body exceeding 350MB
  3. Triggering the integer overflow during size calculation
  4. Exploiting the resulting out-of-bounds write for denial of service or potential code execution

The vulnerability mechanism centers on the arithmetic overflow occurring when large request body sizes are processed. When the calculated size wraps around to a small positive or even negative value, subsequent memory operations write beyond allocated buffer boundaries. For detailed technical analysis, refer to the Apache HTTP Server Security Advisory and the OSS-Security disclosure.

Detection Methods for CVE-2022-22721

Indicators of Compromise

  • Unusually large HTTP requests (exceeding 350MB) targeting Apache servers
  • Apache HTTP Server crashes or unexpected restarts on 32-bit systems
  • Memory corruption indicators in Apache error logs
  • Anomalous XML-based POST requests with extremely large Content-Length headers

Detection Strategies

  • Monitor Apache access logs for requests with Content-Length headers exceeding 350MB
  • Implement network-level inspection for oversized HTTP request bodies targeting web servers
  • Deploy memory corruption detection tools on 32-bit Apache installations
  • Use intrusion detection signatures matching large XML request body patterns

Monitoring Recommendations

  • Enable verbose logging for Apache HTTP Server to capture request size anomalies
  • Configure alerts for Apache process crashes or unexpected terminations
  • Monitor system memory utilization for signs of buffer overflow exploitation
  • Review Apache configuration files regularly for elevated LimitXMLRequestBody values

How to Mitigate CVE-2022-22721

Immediate Actions Required

  • Upgrade Apache HTTP Server to version 2.4.53 or later immediately
  • Verify LimitXMLRequestBody is set to the default value of 1MB or lower on 32-bit systems
  • Consider migrating critical 32-bit Apache deployments to 64-bit architecture
  • Apply vendor-specific patches from Oracle, Apple, Fedora, and Debian as applicable

Patch Information

Apache Software Foundation has addressed this vulnerability in Apache HTTP Server version 2.4.53. Security patches are available from multiple vendors:

  • Apache: Upgrade to httpd 2.4.53 or later via the Apache HTTP Server download page
  • Oracle: Patches available in the April 2022 Critical Patch Update and July 2022 CPU
  • Apple: Security updates documented in HT213255, HT213256, and HT213257
  • Fedora: Updated packages available via Fedora Package Announcements
  • Debian: Advisory available via Debian LTS Announcement
  • Gentoo: See GLSA 202208-20
  • NetApp: Advisory at NTAP-20220321-0001

Workarounds

  • Ensure LimitXMLRequestBody directive is set to 1MB or less on all 32-bit Apache installations
  • Implement web application firewall rules to block requests exceeding 350MB
  • Use reverse proxy configurations to filter oversized requests before they reach vulnerable servers
  • Consider disabling XML body parsing if not required for application functionality
bash
# Configuration example - Ensure safe LimitXMLRequestBody value
# Add to httpd.conf or appropriate configuration file

# Set LimitXMLRequestBody to default safe value (1MB)
LimitXMLRequestBody 1048576

# Alternatively, for stricter environments, use a lower value
# LimitXMLRequestBody 524288

# Verify current Apache version
httpd -v

# Check for 32-bit vs 64-bit installation
file /usr/sbin/httpd

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechApache

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability16.88%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-190
  • Technical References
  • Full Disclosure Mailing List Post

  • Full Disclosure Mailing List Post

  • Full Disclosure Mailing List Post

  • OSS-Security Mailing List Post

  • Debian LTS Security Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 202208-20

  • NetApp Security Advisory

  • Apple Security Document HT213255

  • Apple Security Document HT213256

  • Apple Security Document HT213257

  • Oracle CPU July 2022 Advisory
  • Vendor Resources
  • Apache HTTP Server Vulnerabilities

  • Oracle CPU April 2022 Advisory
  • Related CVEs
  • CVE-2025-53470: Apache NimBLE Buffer Overflow Vulnerability

  • CVE-2024-29133: Apache Commons Configuration Overflow Flaw

  • CVE-2022-28331: Apache Portable Runtime Buffer Overflow

  • CVE-2022-25147: Apache APR-util Buffer Overflow Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English