Summary
CVE-2026-109229 is a denial-of-service vulnerability (CWE-409, Improper Handling of Highly Compressed Data) in SGLang, the LLM serving framework, in versions through 0.5.21. Remote unauthenticated attackers can exhaust worker memory by submitting small, highly compressed images with enormous pixel dimensions. The CVE record rates it High (CVSS v4.0 score 8.7).
Technical details
- Root cause: SGLang disables Pillow’s decompression bomb protection process-wide by setting
Image.MAX_IMAGE_PIXELStoNone. The CVE record cites the NanoNemotronVLImageProcessor and the common image-loading utility code. - Trigger conditions: the SGLang server accepts image input, and an attacker can reach it.
- Attack vector: network. No privileges or user interaction are required, and attack complexity is low.
- Impact: decoding an image with huge dimensions exhausts worker memory, causing a denial of service (availability impact only).
Affected software
- SGLang (PyPI) versions 0.0 through 0.5.21 (all versions up to and including 0.5.21)
Severity
- CVSS v4.0: 8.7 (High),
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - The CVE record also lists a CVSS v3.1 score of 7.5 (High), vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. This is the v3.1 score published in the record, not 8.7.
Mitigation and recommended actions
- Immediate: the CVE record does not name a fixed version. Check the official SGLang repository and the GitHub issue (#43707) for a release later than 0.5.21 and upgrade when one is available.
- Until a fix is available, restrict network access to SGLang endpoints that accept images to trusted clients only. Place them behind authentication or a gateway, and set memory limits on workers. These are general hardening measures and are not taken from the advisory.

