CVE-2025-66909

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:turms-im:turms:0.10.0-snapshot:*:*:*:*:*:*:*

History

02 Jan 2026, 19:50

Type Values Removed Values Added
References () https://github.com/Xzzz111/public_cve_report/blob/main/CVE-2025-66909_report.md - () https://github.com/Xzzz111/public_cve_report/blob/main/CVE-2025-66909_report.md - Exploit, Third Party Advisory
References () https://github.com/turms-im/turms - () https://github.com/turms-im/turms - Product
References () https://github.com/turms-im/turms/blob/develop/turms-ai-serving/src/main/java/ai/djl/opencv/ExtendedOpenCVImage.java#L37 - () https://github.com/turms-im/turms/blob/develop/turms-ai-serving/src/main/java/ai/djl/opencv/ExtendedOpenCVImage.java#L37 - Product
CPE cpe:2.3:a:turms-im:turms:0.10.0-snapshot:*:*:*:*:*:*:*
First Time Turms-im
Turms-im turms

19 Dec 2025, 16:15

Type Values Removed Values Added
References () https://github.com/Xzzz111/public_cve_report/blob/main/CVE-2025-66909_report.md - () https://github.com/Xzzz111/public_cve_report/blob/main/CVE-2025-66909_report.md -
CWE CWE-409
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5

19 Dec 2025, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-12-19 15:15

Updated : 2026-01-02 19:50


NVD link : CVE-2025-66909

Mitre link : CVE-2025-66909

CVE.ORG link : CVE-2025-66909


JSON object : View

Products Affected

turms-im

  • turms
CWE
CWE-409

Improper Handling of Highly Compressed Data (Data Amplification)