Cyber Resilience

CWE · MITRE source

CWE-195Signed to Unsigned Conversion Error

Abstraction: Variant · CVEs in our corpus: 19

The product uses a signed primitive and performs a cast to an unsigned primitive, which can produce an unexpected value if the value of the signed primitive can not be represented using an unsigned primitive.

It is dangerous to rely on implicit casts between signed and unsigned numbers because the result can take on an unexpected value and violate assumptions made by the program. Often, functions will return negative values to indicate a failure. When the result of a function is to be used as a size parameter, using these negative return values can have unexpected results. For example, if negative size values are passed to the standard memory copy or allocation functions they will be implicitly cast to a large unsigned value. This may lead to an exploitable buffer overflow or underflow condition.

Last updated: 04 July 2026 00:28 UTC

Cumulative inbound coverage

How completely the frameworks we cross-walk collectively cover this — the verdict is the strongest single mapping (overlapping partials are not summed); breadth shows the corroboration behind it.

Collective: partial · 5 mapping(s) from 1 framework(s): ATT&CK 5 (partial)

See the full cumulative-coverage rollup →

NIST 800-53 r5 controls that address this weakness (0)AI

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.

MITRE ATT&CK techniques this weakness enables

Our own two-way CWE↔ATT&CK cross-walk — a direct mapping with no public source (the CWE→CAPEC→ATT&CK chain leaves most top weaknesses, incl. XSS and SQLi, mapped to nothing). Drafted by Grok and spot-checked by Claude Opus 4.8.

Direction: other covers this; this covers other (F/M/P = full / mostly / partial).

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2026-49840 UPD7.09.10.00312026-06-09
CVE-2022-436636.08.10.14042023-03-20
CVE-2011-30455.58.80.03572012-03-22
CVE-2016-65605.58.60.01682017-03-31
CVE-2020-60965.58.10.05222020-04-01
CVE-2020-19135.58.10.01202020-09-09
CVE-2023-51845.57.00.00392023-09-27
CVE-2023-330345.57.80.00112023-10-03
CVE-2024-25388 UPD5.58.40.00322024-03-27
CVE-2025-49847 UPD5.58.80.00442025-06-17
CVE-2025-52566 UPD5.58.60.00322025-06-24
CVE-2025-654955.57.50.00222025-11-24
CVE-2023-36353.55.90.01082023-07-12
CVE-2023-280633.56.70.00162024-02-06
CVE-2025-247923.54.40.00132025-01-29
CVE-2025-306463.56.50.00222025-04-09
CVE-2025-678973.55.30.00302025-12-14
CVE-2026-269813.56.50.00522026-02-24