~ / search / GHSA-26gg-9gv2-v27j

GHSA-26gg-9gv2-v27j

Spring AI Vulnerable to OOM by attacker-controlled PDF

Source: GitHub Advisory Database (reviewed) Moderate CVE-2026-40980

Packages

EcosystemPackageAffectedFixed in
Maven org.springframework.ai:spring-ai-pdf-document-reader >= 1.0.0, < 1.0.6 1.0.6
Maven org.springframework.ai:spring-ai-pdf-document-reader >= 1.1.0, < 1.1.5 1.1.5

Details

As written in the advisory (Markdown source, shown as plain text).

In Spring AI, a malicious PDF file can be crafted that triggers the allocation of unreasonable amounts of memory when handled by `ForkPDFLayoutTextStripper`. Affected versions: Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)

References

External links from the advisory. They lead to third-party sites.