---
title: "CWE-686: Function Call With Incorrect Argument Type"
url: https://radicalnotion.ai/cwe/cwe-686
type: cwe
description: "The product calls a function, procedure, or routine, but the caller specifies an argument that is the wrong data type, which may lead to resultant weaknesses."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-686: Function Call With Incorrect Argument Type

- **Abstraction:** Variant
- **Structure:** Simple
- **Status:** Draft
- **CVEs with this as primary weakness:** 8
- **Of those, in CISA KEV:** 0
- **New in 2026:** 5
- **CWE catalog version:** 4.21

## Description

The product calls a function, procedure, or routine, but the caller specifies an argument that is the wrong data type, which may lead to resultant weaknesses.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | This weakness is most likely to occur in loosely typed languages, or in strongly typed languages in which the types of variable arguments cannot be enforced at compilation time, or where there is implicit casting. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Other | Quality Degradation | - |

## Detection methods

### Other

Because this function call often produces incorrect behavior, it will usually be detected during testing or normal operation of the product.

Effectiveness: Opportunistic

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-14330 | JIT miscompilation in the JavaScript Engine: JIT component | critical | 9.8 | - | No | 2025-12-09 |
| CVE-2026-112902 | Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags | high | 8.8 | - | No | 2026-11-05 |
| CVE-2026-8389 | JIT miscompilation in the JavaScript Engine: JIT component | high | 8.8 | - | No | 2026-05-12 |
| CVE-2026-78422 | zbus\_polkit: polkit authorization bypass via PID reuse due to incorrect D-Bus type for the subject UID | high | 7.3 | - | No | 2026-08-31 |
| CVE-2026-33783 | Junos OS Evolved: PTX Series: If SRTE tunnels provisioned via PCEP are present and specific gRPC queries are received evo-aftmand crashes | high | 7.1 | - | No | 2026-04-09 |
| CVE-2024-32632 | Printf arg type mismatch in ATCMD | medium | 6.6 | - | No | 2024-04-16 |
| CVE-2026-93667 | Function pointer type confusion in Zephyr Virtual L2 when a VLAN-tagged frame finds no handling virtual interface | medium | 5.9 | - | No | 2026-11-16 |
| CVE-2023-5868 | Postgresql: memory disclosure in aggregate function calls | low | 2.1 | - | No | 2023-12-10 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-628](https://radicalnotion.ai/cwe/cwe-628) | Function Call with Incorrectly Specified Arguments |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| CERT C Secure Coding | Call functions with the correct number and type of arguments | EXP37-C | CWE More Specific |
| CERT C Secure Coding | Use valid format strings | FIO47-C | Imprecise |
| CERT C Secure Coding | Do not call putenv() with a pointer to an automatic variable as the argument | POS34-C | - |
| CERT C Secure Coding | Arguments to character handling functions must be representable as an unsigned char | STR37-C | - |
| Software Fault Patterns | Glitch in computation | SFP1 | - |

## Frequently asked questions

### What is CWE-686?

The product calls a function, procedure, or routine, but the caller specifies an argument that is the wrong data type, which may lead to resultant weaknesses.

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

8 recorded CVEs are attributed to CWE-686, including CVE-2025-14330, CVE-2026-112902 and CVE-2026-8389.

### How is CWE-686 detected?

Other: Because this function call often produces incorrect behavior, it will usually be detected during testing or normal operation of the product.

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

Exploiting CWE-686 can lead to: Quality Degradation.

### Is CWE-686 actively exploited?

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

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

---

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