Advisory record · GHSA-26gg-9gv2-v27j

Spring AI Vulnerable to OOM by attacker-controlled PDF

CVSS 6.5 MediumEPSS 0.0024 · 15th percentile

Published by the GitHub Advisory Database at 28 Apr 2026, 09:34 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.springframework.ai:spring-ai-pdf-document-readerMaven>=1.0.0, <1.0.6 || >=1.1.0, <1.1.51.0.6, 1.1.5
Identifiers
GHSA-26gg-9gv2-v27j · CVE-2026-40980
Weakness (CWE)
CWE-400
Published
28 Apr 2026
Updated
6 May 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Spring AI's spring-ai-pdf-document-reader package, versions 1.0.0 through 1.0.5 and 1.1.0 through 1.1.4, is vulnerable. A malicious PDF file can cause the ForkPDFLayoutTextStripper component to allocate excessive memory, which can lead to an out-of-memory condition. The source gives few details about how the file must be supplied. Upgrade to version 1.0.6 or 1.1.5, where this is fixed.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.5 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CNA (vmware)
  • CISA KEV Not listed.
  • EPSS 0.0024, the 15th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:20 UTC First seen by agentprime
  2. 31 Oct 2026, 14:20 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.