Common Weakness Enumeration

CWE-670 Always-Incorrect Control Flow Implementation

Description

The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated.

Associated Reviewed Advisories

Vulnerabilities classified under CWE-670 ordered by modification date.

25 reviewed records
Advisory ID NVD ID Severity PURLs Summary Last Modified
GHSA-4hg4-9mf5-wxxq CVE-2023-41052 MODERATE

incorrect order of evaluation of side effects for some builtins

2026-09-17
GHSA-wv33-5pxh-r7j7 CVE-2026-35343 LOW -

cut: -s (only-delimited) ignored when delimiter is a newline

2026-07-06
GHSA-hj9r-8pfm-rmjj - LOW -

Duplicate Advisory: uutils coreutils has an Issue With its Always-Incorrect Control Flow Implementation

2026-07-06
GHSA-28xx-pppm-vqff - LOW

ydb-go-sdk's transactions are not committed using the `options.WithCommit()` option on last call `table.Transaction.Execute` in transaction

2026-06-08
GHSA-q8hx-mm92-4wvg CVE-2024-47763 MODERATE -

wasmtime has a runtime crash when combining tail calls with trapping imports

2026-06-08
GHSA-qmq6-f8pr-cx5x - LOW

Duplicate Advisory: uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided

2026-05-05
GHSA-q49f-xg75-m9xw CVE-2026-34946 MODERATE -

Wasmtime has host panic when Winch compiler executes `table.fill`

2026-04-24
GHSA-xmj9-7625-f634 CVE-2026-40942 MODERATE

Data Sharing Framework has an Inverted Time Comparison in OIDC JWKS and Token Cache

2026-04-24
GHSA-f3q6-69f3-vwch CVE-2026-6608 MODERATE

FastChat has a Content Moderation Bypass via Arena Side-by-Side Views

2026-04-23
GHSA-9f4w-67g7-mqwv CVE-2026-41300 MODERATE

OpenClaw: Endpoint persists after trust decline, leaking gateway credentials

2026-04-20
GHSA-wf42-42fg-fg84 CVE-2026-33011 HIGH

Nest Fastify HEAD Request Middleware Bypass

2026-03-20
GHSA-54gx-3cgr-7mfm - CRITICAL

Cosmos EVM: incorrect state handling during nested EVM execution paths

2026-03-11
GHSA-4chv-4c6w-w254 CVE-2026-26267 HIGH -

The rs-soroban-sdk #[contractimpl] macro calls inherent function instead of trait function when names collide

2026-02-19
GHSA-9wx4-h78v-vm56 CVE-2024-35195 MODERATE

Requests `Session` object does not verify requests after making first request with verify=False

2026-01-16
GHSA-v4wr-j3w6-mxqc CVE-2025-2886 MODERATE -

tough terminating targets role delegations are not respected

2025-10-14
GHSA-27vh-h6mc-q6g8 CVE-2024-38365 HIGH

btcd did not correctly re-implement Bitcoin Core's "FindAndDelete()" functionality

2025-08-21
GHSA-g2xh-c426-v8mf CVE-2023-40015 MODERATE

Vyper: reversed order of side effects for some operations

2025-06-18
GHSA-4www-5p9h-95mh CVE-2025-32996 MODERATE

http-proxy-middleware can call writeBody twice because "else if" is not used

2025-04-28
GHSA-vgf2-gvx8-xwc3 CVE-2025-21607 LOW

Vyper Does Not Check the Success of Certain Precompile Calls

2025-04-24
GHSA-hm3c-93pg-4cxw CVE-2024-47168 LOW

In Gradio, the `enable_monitoring` flag set to `False` does not disable monitoring

2025-01-21
GHSA-4vc8-pg5c-vg4x CVE-2021-3754 LOW

Keycloak's improper input validation allows using email as username

2024-12-20
GHSA-vxmm-cwh2-q762 CVE-2023-32675 MODERATE

Vyper's nonpayable default functions are sometimes payable

2024-11-19
GHSA-w9g2-3w7p-72g9 CVE-2023-30629 HIGH

Incorrect success value returned in vyper

2024-11-19
GHSA-4v9q-cgpw-cf38 CVE-2022-29255 HIGH

Multiple evaluation of contract address in call in vyper

2024-11-19
GHSA-9328-gcfq-p269 CVE-2024-35312 HIGH -

Tor Arti's STUB circuits incorrectly have a length of 2

2024-11-04