---
title: "CAPEC-493: SOAP Array Blowup"
url: https://radicalnotion.ai/capec/capec-493
type: capec
description: "An adversary may execute an attack on a web service that uses SOAP messages in communication. By sending a very large SOAP array declaration to the web service, the attacker forces the web service to allocate space for the array elements before they are parsed by the XML parser. The attacker message is typically small in size containing a large array declaration of say 1,000,000 elements and a couple of array elements. This attack targets exhaustion of the memory resources of the web service."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-493: SOAP Array Blowup

- **Abstraction:** Standard
- **Status:** Draft
- **CAPEC catalog version:** 3.9

## Description

An adversary may execute an attack on a web service that uses SOAP messages in communication. By sending a very large SOAP array declaration to the web service, the attacker forces the web service to allocate space for the array elements before they are parsed by the XML parser. The attacker message is typically small in size containing a large array declaration of say 1,000,000 elements and a couple of array elements. This attack targets exhaustion of the memory resources of the web service.

## Prerequisites

- This type of an attack requires the attacker to know the endpoint of the web service, and be able to reach the endpoint with a malicious SOAP message.

## Mitigations

- Enforce strict schema validation. The schema should enforce a maximum number of array elements. If the number of maximum array elements can't be limited another validation method should be used. One such method could be comparing the declared number of items in the array with the existing number of elements of the array. If these numbers don't match drop the SOAP packet at the web service layer.

## Related weaknesses (CWE)

- [CWE-770](https://radicalnotion.ai/cwe/cwe-770): Allocation of Resources Without Limits or Throttling

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-130](https://radicalnotion.ai/capec/capec-130) | Excessive Allocation |

## Frequently asked questions

### What is CAPEC-493?

An adversary may execute an attack on a web service that uses SOAP messages in communication. By sending a very large SOAP array declaration to the web service, the attacker forces the web service to allocate space for the array elements before they are parsed by the XML parser. The attacker message is typically small in size containing a large array declaration of say 1,000,000 elements and a couple of array elements. This attack targets exhaustion of the memory resources of the web service.

### How do you prevent CAPEC-493?

Enforce strict schema validation. The schema should enforce a maximum number of array elements. If the number of maximum array elements can't be limited another validation method should be used. One such method could be comparing the declared number of items in the array with the existing number of elements of the array. If these numbers don't match drop the SOAP packet at the web service layer.

### What weaknesses does CAPEC-493 target?

CAPEC-493 exploits one CWE weakness: CWE-770 (Allocation of Resources Without Limits or Throttling).

Primary source: [MITRE CAPEC](https://capec.mitre.org/data/definitions/493.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/capec/capec-493). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
