Skip to main content
VulnerabilityPublished

CVE-2025-66909: turms-ai-serving · CVE-2025-66909 is a high-severity denial of service

Affects turms-ai-servingSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubturms-im/turms-ai-servingpkg:github/turms-im/turms-ai-servingOther threatsAffected
  • =0.10.0-SNAPSHOT
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate this vulnerability, organizations should implement strict validation of image dimensions and pixel counts before decompression to prevent resource exhaustion. Specifically, input images should be checked for maximum allowable width, height, and total pixel count, rejecting any images exceeding safe thresholds. Rate limiting and request throttling should be applied to the OCR service endpoints to reduce the risk of repeated exploitation. Access controls should be enforced to restrict public accessibility of the OCR service, ideally requiring authentication and authorization. Monitoring and alerting for abnormal memory usage or service crashes can help detect exploitation attempts early. If possible, update or patch the Turms AI-Serving module once a fix is released. As a temporary workaround, consider isolating the image processing component in a sandboxed environment with strict memory limits to contain potential crashes. Finally, conduct regular security assessments and code reviews focusing on resource management in image processing components.

Description

CVE-2025-66909 is a high-severity denial of service vulnerability in the Turms AI-Serving module (v0.10.0-SNAPSHOT and earlier). It arises from improper validation of image dimensions and pixel count during decompression in the ExtendedOpenCVImage class, which uses OpenCV's imread() function. An attacker can upload a crafted compressed image that decompresses to consume excessive memory, causing immediate service crashes due to OutOfMemoryError. No authentication or user interaction is required if the OCR service is publicly accessible, enabling remote attackers to repeatedly trigger service outages. This vulnerability affects availability but does not impact confidentiality or integrity. European organizations using this AI-Serving module in publicly accessible OCR services are at risk of denial of service attacks. Mitigation requires implementing strict validation of image size before decompression, rate limiting, and restricting public access. Countries with higher adoption of AI and OCR technologies in critical infrastructure and services, such as Germany, France, and the UK, are most likely to be affected.

References

Community reviews

Loading reviews…