CWE-675: Multiple Operations on Resource in Single-Operation Context
The product performs the same operation on a resource two or more times, when the operation should only be applied once.
Last updated
Overview
CWE-675 (Multiple Operations on Resource in Single-Operation Context) is a class-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
2 recorded CVEs are caused by CWE-675 (Multiple Operations on Resource in Single-Operation Context). The highest-severity and most recent are shown first. 0 new CWE-675 CVEs have been recorded so far in 2026 (1 in 2025).
Common consequences
What can happen when CWE-675 is exploited.
Other
Affects: Other
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
Code examples
Illustrative examples from MITRE showing how the weakness appears in code.
The following code shows a simple example of a double free vulnerability.
Vulnerable example
char* ptr = (char*)malloc (SIZE);This code binds a server socket to port 21, allowing the server to listen for traffic on that port.
Vulnerable example
void bind_socket(void) {This code may result in two servers binding a socket to same port, thus receiving each other's traffic. This could be used by an attacker to steal packets meant for another process, such as a secure FTP server.
Illustrative examples
Real CVEs that MITRE cites as examples of this weakness.
- CVE-2009-0935 — Attacker provides invalid address to a memory-reading function, causing a mutex to be unlocked twice
- CVE-2019-13351 — file descriptor double close can cause the wrong file to be associated with a file descriptor.
- CVE-2004-1939 — XSS protection mechanism attempts to remove "/" that could be used to close tags, but it can be bypassed using double encoded slashes (%252F)
Frequently asked questions
Common questions about CWE-675.
- What is CWE-675?
- The product performs the same operation on a resource two or more times, when the operation should only be applied once.
- What CVEs are caused by CWE-675?
- 2 recorded CVEs are attributed to CWE-675, including CVE-2019-17638, CVE-2025-68973.
- What are the consequences of CWE-675?
- Exploiting CWE-675 can lead to: Other.
- Is CWE-675 actively exploited?
- 2 recorded CVEs are caused by CWE-675; none are currently in CISA's KEV catalog of actively exploited flaws.
References
- MITRE CWE definition (CWE-675) (opens in a new tab)
- CWE-675 vulnerabilities on NVD (opens in a new tab)
- Learn: What is a CWE?
Weakness data is sourced from the MITRE CWE catalog (v4.20). CVE associations are aggregated and kept current by RadicalNotion.AI.
Stay ahead of CWE-675
Get alerted the moment a new CWE-675 vulnerability affects your stack, with AI-written analysis, severity context, and remediation guidance.