Vulnerability in Turms-Im Turms
CVE-2025-66909
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.005 · 45.2th percentile
- Published
- 2025-12-19
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 loads images using OpenCV's imread() function without validating dimensions or pixel count before decompression. An attacker can upload a specially crafted compressed image file (e.g., PNG) that is small when compressed but expands to gigabytes of memory when loaded. This causes immediate memory exhaustion, OutOfMemoryError, and service crash. No authentication is required if the OCR service is publicly accessible. Multiple requests can completely deny service availability.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.005, 45.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Turms-Im Turms — versions 0.10.0-snapshot
Weakness classification (CWE)
References
- github.com/turms-im/turms (Product)
- github.com/turms-im/turms/blob/develop/turms-ai-serving/src/main/java/ai/djl/op… (Product)
- github.com/Xzzz111/public_cve_report/blob/main/CVE-2025-66909_report.md (Exploit, Third Party Advisory)