---
title: "CWE-229: Improper Handling of Values"
url: https://radicalnotion.ai/cwe/cwe-229
type: cwe
description: "The product does not properly handle when the expected number of values for parameters, fields, or arguments is not provided in input, or if those values are undefined."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-229: Improper Handling of Values

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Incomplete
- **CVEs with this as primary weakness:** 30
- **Of those, in CISA KEV:** 0
- **New in 2026:** 6
- **CWE catalog version:** 4.21

## Description

The product does not properly handle when the expected number of values for parameters, fields, or arguments is not provided in input, or if those values are undefined.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Integrity | Unexpected State | - |

## Detection methods

### Fuzzing

Fuzz testing (fuzzing) is a powerful technique for generating large numbers of diverse inputs - either randomly or algorithmically - and dynamically invoking the code with those inputs. Even with random inputs, it is often capable of generating unexpected results such as crashes, memory corruption, or resource consumption. Fuzzing effectively produces repeatable test cases that clearly indicate bugs, which helps developers to diagnose the issues.

Effectiveness: High

## Real CVEs with this weakness (sample of 12 of 30)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-7964 | Zigbee Router Denial of Service | critical | 9.2 | - | No | 2026-01-30 |
| CVE-2026-59565 | Local and kernel denial-of-service | high | 8.8 | - | No | 2026-08-24 |
| CVE-2024-39531 | Junos OS Evolved: ACX 7000 Series: Protocol specific DDoS configuration affects other protocols | high | 8.7 | - | No | 2024-07-11 |
| CVE-2022-30322 | HashiCorp go-getter unsafe downloads could lead to arbitrary host access | high | 8.6 | - | No | 2022-05-25 |
| CVE-2022-30323 | HashiCorp go-getter unsafe downloads could lead to asymmetric resource exhaustion | high | 8.6 | - | No | 2022-05-25 |
| CVE-2026-59566 | Local denial-of-service | high | 8.4 | - | No | 2026-08-24 |
| CVE-2022-2809 | Unauthenticated out of bounds heap write in bmcweb | high | 8.2 | - | No | 2022-10-27 |
| CVE-2024-26773 | ext4: avoid allocating blocks from corrupted group in ext4\_mb\_try\_best\_found() | high | 7.8 | - | No | 2024-04-03 |
| CVE-2024-26772 | ext4: avoid allocating blocks from corrupted group in ext4\_mb\_find\_by\_goal() | high | 7.8 | - | No | 2024-04-03 |
| CVE-2022-32088 | mariadb: segmentation fault in Exec\_time\_tracker::get\_loops/Filesort\_tracker::report\_use/filesort | high | 7.5 | - | No | 2022-07-01 |
| CVE-2022-32087 | mariadb: server crash in Item\_args::walk\_args | high | 7.5 | - | No | 2022-07-01 |
| CVE-2022-32086 | mariadb: server crash in Item\_field::fix\_outer\_field for INSERT SELECT | high | 7.5 | - | No | 2022-07-01 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-228](https://radicalnotion.ai/cwe/cwe-228) | Improper Handling of Syntactically Invalid Structure |
| Child | [CWE-230](https://radicalnotion.ai/cwe/cwe-230) | Improper Handling of Missing Values |
| Child | [CWE-231](https://radicalnotion.ai/cwe/cwe-231) | Improper Handling of Extra Values |
| Child | [CWE-232](https://radicalnotion.ai/cwe/cwe-232) | Improper Handling of Undefined Values |

## Frequently asked questions

### What is CWE-229?

The product does not properly handle when the expected number of values for parameters, fields, or arguments is not provided in input, or if those values are undefined.

### What CVEs are caused by CWE-229?

30 recorded CVEs are attributed to CWE-229, including CVE-2025-7964, CVE-2026-59565 and CVE-2024-39531.

### How is CWE-229 detected?

Fuzzing: Fuzz testing (fuzzing) is a powerful technique for generating large numbers of diverse inputs - either randomly or algorithmically - and dynamically invoking the code with those inputs. Even with random inputs, it is often capable of generating unexpected results such as crashes, memory corruption, or resource consumption. Fuzzing effectively produces repeatable test cases that clearly indicate bugs, which helps developers to diagnose the issues.

### What are the consequences of CWE-229?

Exploiting CWE-229 can lead to: Unexpected State.

### Is CWE-229 actively exploited?

30 recorded CVEs are caused by CWE-229; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/229.html)

---

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