Intel

AIKIDO-2026-512602

aiosonic is vulnerable to Denial of Service (DoS)

CVE-2026-102602Published Jul 27, 2026
July 27, 2026

59

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

aiosonic transparently decompresses Content-Encoding: gzip and deflate response bodies with one-shot gzip.decompress()/zlib.decompress() calls over the entire buffer and no output-size limit. A malicious or compromised server can return a small compressed payload that inflates to hundreds of megabytes or gigabytes, exhausting memory in the client process and crashing it. Decompression happens in the request path before the response object is returned, so callers cannot inspect headers and opt out, and no special option is required. The fix switches to bounded streaming decompression with a configurable maximum size and raises a new DecompressionError on overflow.

How do I fix this?

Upgrade the aiosonic library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application fetches responses from untrusted or attacker-influenced servers.

Package

Versions

0.1.0 - 1.0.2

Fixed in 1.0.3

Background info

aiosonic is vulnerable to Denial of Service (DoS) in versions 0.1.0 - 1.0.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea