CVE-2025-66909

Source
https://cve.org/CVERecord?id=CVE-2025-66909
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66909.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-66909
Published
2025-12-19T15:15:56.670Z
Modified
2026-03-14T12:45:52.980889Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/turms-im/turms

Affected ranges

Type
GIT
Repo
https://github.com/turms-im/turms
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.10.0-snapshot"
        }
    ]
}

Affected versions

v0.*
v0.10.0-SNAPSHOT

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66909.json"