# CVE-2025-66909: Turms AI-Serving module v0.10.0-SNAPSHOT and earlier contains an image decompression bomb denial of service vulnerability.

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-19T00:00:00.000Z
- Modified: 2026-10-13T11:10:00.203Z
- Weaknesses: CWE-409
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- turms-im turms: 0.10.0-snapshot

## References

- <https://github.com/Xzzz111/public_cve_report/blob/main/CVE-2025-66909_report.md> (exploit, third-party-advisory)
- <https://github.com/turms-im/turms> (product)
- <https://github.com/turms-im/turms/blob/develop/turms-ai-serving/src/main/java/ai/djl/opencv/ExtendedOpenCVImage.java#L37> (product)

## Sources

- CVE List: [CVE-2025-66909](https://www.cve.org/CVERecord?id=CVE-2025-66909), CVE Terms of Use, modified 2025-12-19
- NVD: [CVE-2025-66909](https://nvd.nist.gov/vuln/detail/CVE-2025-66909), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2025-66909 · Whole record: https://cve.day/CVE-2025-66909.json · Rebuilt by cve.day 2026-11-25T22:59:09.744Z
