NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

Spring AI Vulnerable to OOM by attacker-controlled PDFGHSA-26gg-9gv2-v27j

MEDIUM

GHSA-26gg-9gv2-v27j is a medium-severity (CVSS 6.5) Uncontrolled Resource Consumption vulnerability in org.springframework.ai:spring-ai-pdf-document-reader. A fix is available for org.springframework.ai:spring-ai-pdf-document-reader — see the affected versions and patch details below.

Also known asCVE-2026-40980
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Nov 5, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-26gg-9gv2-v27j.

EPSS Exploitation Probability

via FIRST.org ↗
0.2%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs15th percentile — riskier than 15% of all scored CVEsHighest risk
0.00%0.25%0.49%0.74%0.0%0.2%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

2 pkgs affected
☕org.springframework.ai:spring-ai-pdf-document-reader☕org.springframework.ai:spring-ai-pdf-document-reader

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

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)

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.springframework.ai:spring-ai-pdf-document-reader≥ 1.0.0&&< 1.0.61.0.6org.springframework.ai:spring-ai-pdf-document-reader:1.0.6
☕Mavenorg.springframework.ai:spring-ai-pdf-document-reader≥ 1.1.0&&< 1.1.51.1.5org.springframework.ai:spring-ai-pdf-document-reader:1.1.5

Affected Products

1 product · 2 configurations
Application
spring aivmware
≥ 1.1.0 && < 1.1.5
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.springframework.ai:spring-ai-pdf-document-reader, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.springframework.ai:spring-ai-pdf-document-reader to 1.0.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-26gg-9gv2-v27j is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Frequently Asked Questions

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)
O3 Security · Impact-Aware SCA

Is GHSA-26gg-9gv2-v27j in your dependencies?

Find it across Maven, including transitive dependencies.

Spring AI Vulnerable to OOM by attacker-controlled PDF