Skip to main content
CVE-2024-52303VulnerabilityPublished Updated

Bzt: aiohttp has a memory leak when middleware is enabled when requesting a resource with a non-allowed method

Affects bztSource GCVE Database

0
Compare

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

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Homebrewbztpkg:brew/bztOther threatsAffected
  • >=1.16.35 <1.16.35_1
Fixed in
  • 1.16.35_1

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.

References

Community reviews

Loading reviews…