Bzt: aiohttp has a memory leak when middleware is enabled when requesting a resource with a non-allowed method
Affects bztSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 1.16.35_1 soon.
Data as of 24 Nov 2026, 21:14 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.16.35_1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade bzt to 1.16.35_1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewbztpkg:brew/bztOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
An official patch is available and should be applied immediately to affected versions. Users of aiohttp with middleware enabled are advised to upgrade to the fixed version to prevent memory exhaustion attacks. No additional mitigations are specified by the vendor.
Description
A memory leak vulnerability exists in aiohttp when middleware is enabled and a request triggers a MatchInfoError due to a non-allowed HTTP method. This occurs because each MatchInfoError creates a unique cache entry, causing unbounded memory growth. An attacker could exploit this by sending large volumes of such requests, potentially exhausting server memory. A patch is available to address this issue.