Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CWE-770 (不加限制或调节的资源分配) — Vulnerability Class 1127

1127 vulnerabilities classified as CWE-770 (不加限制或调节的资源分配). AI Chinese analysis included.

CWE-770 represents a critical resource management weakness where software allocates reusable resources, such as memory, file descriptors, or database connections, without enforcing limits or throttling mechanisms. This vulnerability typically arises when applications accept untrusted input or handle high-volume requests, allowing malicious actors to trigger excessive resource consumption. By rapidly requesting numerous resources, attackers can exhaust system capacity, leading to denial-of-service conditions that degrade performance or crash the entire service. To mitigate this risk, developers must implement strict quotas, rate limiting, and connection pooling strategies. Enforcing maximum thresholds for resource allocation ensures that no single user or process can monopolize system assets, thereby maintaining stability and availability even under heavy load or targeted abuse attempts.

MITRE CWE Description
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Common Consequences (1)
AvailabilityDoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Resource Consumption (Other)
When allocating resources without limits, an attacker could prevent other systems, applications, or processes from accessing the same type of resource. It can be easy for an attacker to consume many resources by rapidly making many requests or causing larger resources to be used than is needed.
Mitigations (5)
RequirementsClearly specify the minimum and maximum expectations for capabilities, and dictate which behaviors are acceptable when resource allocation reaches limits.
Architecture and DesignLimit the amount of resources that are accessible to unprivileged users. Set per-user limits for resources. Allow the system administrator to define these limits. Be careful to avoid CWE-410.
Architecture and DesignDesign throttling mechanisms into the system architecture. The best protection is to limit the amount of resources that an unauthorized user can cause to be expended. A strong authentication and access control model will help prevent such attacks from occurring in the first place, and it will help the administrator to identify who is committing the abuse. The login application should be protected …
ImplementationAssume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range…
Architecture and DesignFor any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
Examples (2)
This code allocates a socket and forks each time it receives a new connection.
sock=socket(AF_INET, SOCK_STREAM, 0); while (1) { newsock=accept(sock, ...); printf("A connection has been accepted\n"); pid = fork(); }
Bad · C
In the following example a server socket connection is used to accept a request to store data on the local file system using a specified filename. The method openSocketConnection establishes a server socket to accept requests from a client. When a client establishes a connection to this service the getNextMessage method is first used to retrieve from the socket the name of the file to store the da…
int writeDataFromSocketToFile(char *host, int port) { char filename[FILENAME_SIZE]; char buffer[BUFFER_SIZE]; int socket = openSocketConnection(host, port); if (socket < 0) { printf("Unable to open socket connection"); return(FAIL); } if (getNextMessage(socket, filename, FILENAME_SIZE) > 0) { if (openFileToWrite(filename) > 0) { while (getNextMessage(socket, buffer, BUFFER_SIZE) > 0){ if (!(writeToFile(buffer) > 0)) break; } } closeFile(); } closeSocket(socket); }
Bad · C
CVE IDTitleCVSSSeverityPublished
CVE-2026-62641 Roundcube webmail 资源管理错误漏洞 — Webmail 4.3 Medium2026-07-14
CVE-2026-60081 DBI::ProfileData versions before 1.651 for Perl do not limit the path index — DBI::ProfileData--2026-07-14
CVE-2026-12707 Unbounded path event queue growth in quiche via peer-driven source connection ID rotation — quiche 7.5 High2026-07-14
CVE-2026-10573 1734 POINT I/OTM - Denial of Service via Malformed Inputs on CIP Object — 1734 POINT I/O--2026-07-14
CVE-2026-9140 1718-AENTR/1719-AENTR - Denial of Service — 1718-AENTR/1719-AENTR--2026-07-14
CVE-2026-54429 Siemens simatic s7-plcsim advanced 资源管理错误漏洞 — SIMATIC S7-PLCSIM Advanced 7.4 High2026-07-14
CVE-2026-59246 Zero-length HTTP/2 CONTINUATION frames bypass Mint's header-block byte-size cap and exhaust client memory — mint--2026-07-14
CVE-2026-58229 Unbounded HTTP/1 response-header and chunked-trailer accumulation in Mint causes memory-exhaustion DoS — mint--2026-07-14
CVE-2026-61465 ImageMagick before 7.1.2-26 Memory Allocation Policy Bypass — ImageMagick 3.3 Low2026-07-11
CVE-2026-57220 RabbitMQ: Stream listener does not enforce configured frame-size limit during authentication, permitting unauth'd mem-exhaust DoS — rabbitmq-server 7.5 High2026-07-10
CVE-2026-57212 RabbitMQ management HTTP API accepts request bodies larger than configured max_http_body_size — rabbitmq-server--2026-07-10
CVE-2026-53653 Grav: Unauthenticated denial of service via unbounded image derivative dimensions — grav--2026-07-10
CVE-2026-54063 Excelize: Unbounded Row Index Allocation in Worksheet Parser (checkSheet OOM/Panic DoS) — excelize 7.5 High2026-07-10
CVE-2026-58661 n8n - Disk Space Exhaustion via Data-Table File Upload Endpoint — n8n--2026-07-10
CVE-2026-56309 Capgo - Plan Bypass via Unrestricted Attachment Upload Endpoint — Capgo 5.4 Medium2026-07-10
CVE-2026-56814 Plug: multipart :length limit is not charged for part headers, enabling unbounded temp-file creation (denial of service) — plug--2026-07-10
CVE-2026-60108 Zeek < 8.0.9 Uncontrolled Memory Consumption DoS via FTP Analyzer — zeek 7.5 High2026-07-09
CVE-2026-12590 body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement — body-parser 3.7 Low2026-07-09
CVE-2026-31984 DoS through oversized audit log entries in Guardian/CMC before 26.2.0 — Guardian 7.5 High2026-07-09
CVE-2026-49866 libp2p: CPU DoS via oversized IHAVE and IWANT control message arrays — js-libp2p 7.5 High2026-07-08
CVE-2026-55575 LiquidJS: `pop` filter bypasses `memoryLimit` accounting that its array-filter siblings enforce — liquidjs--2026-07-08
CVE-2026-14362 Denial of service via crafted push/pull gossip message in memberlist — Shared library 4.9 Medium2026-07-08
CVE-2026-59873 node-tar: Decompression/parse DoS via unlimited input — node-tar--2026-07-08
CVE-2026-49146 App::Ack versions before 3.10.0 for Perl allow memory exhaustion via an unbounded context value in a project .ackrc — App::Ack--2026-07-08
CVE-2026-60001 OpenBSD OpenSSH 资源管理错误漏洞 — OpenSSH 6.5 Medium2026-07-08
CVE-2026-60000 OpenBSD OpenSSH 资源管理错误漏洞 — OpenSSH 3.7 Low2026-07-08
CVE-2026-55434 Coder vulnerable to denial of service via unbounded request body in AI Bridge provider endpoints — coder 6.5 Medium2026-07-07
CVE-2026-56811 Phoenix transports do not limit channel joins per connection, enabling process-exhaustion denial of service — phoenix--2026-07-07
CVE-2026-42546 OP-TEE has missing OPTEE_MSG_ATTR_TYPE_MASK in cleanup_shm_refs() leaks mobj references — optee_os 3.8 Low2026-07-06
CVE-2026-56810 mint buffers an entire chunked response chunk in memory in Mint.HTTP1.decode_body/5 — mint--2026-07-06

Vulnerabilities classified as CWE-770 (不加限制或调节的资源分配) represent 1127 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.