Skip to content
HighVulnerability

CVE-2025-66909: Turms AI-Serving image decompression bomb denial of service via image upload

Identifier
CVE-2025-66909
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Turms AI-Serving module v0.10.0-SNAPSHOT and earlier contains an image decompression bomb denial of service vulnerability. The ExtendedOpenCVImage class in ai/djl/opencv/ExtendedOpenCVImage.java calls OpenCV's imread() without checking dimensions or pixel count, so a small compressed PNG can expand to gigabytes of memory, causing OutOfMemoryError and a service crash. No authentication is needed if the OCR service is publicly accessible.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.