CVE-2026-40980 — In Spring AI, a malicious PDF file can be crafted that
CVE-2026-40980 — 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)
What This Means For You
- If your environment is affected by CWE-400, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-40980 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
3 rules · 6 SIEM formats3 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
Spring AI PDF Memory Exhaustion - CVE-2026-40980
Sigma YAML — free preview
title: Spring AI PDF Memory Exhaustion - CVE-2026-40980
id: scw-2026-04-28-ai-1
status: experimental
level: high
description: |
Detects the creation of a PDF file, specifically one named 'malicious.pdf' (a placeholder for a crafted malicious file), which is known to trigger a memory exhaustion vulnerability in Spring AI versions 1.0.0-1.0.5 and 1.1.0-1.1.4 when processed by ForkPDFLayoutTextStripper. This rule aims to catch the initial delivery or creation of the malicious artifact.
author: SCW Feed Engine (AI-generated)
date: 2026-04-28
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-40980/
tags:
- attack.initial_access
- attack.t1190
logsource:
category: file_event
detection:
selection:
TargetFilename|contains:
- '.pdf'
EventType|exact:
- 'create'
selection_base:
TargetFilename|contains:
- '.pdf'
selection_indicators:
TargetFilename|contains:
- 'malicious.pdf'
condition: selection_base AND selection_indicators
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-40980 | vulnerability | CVE-2026-40980 |
| CWE-400 | weakness | CWE-400 |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | April 28, 2026 at 12:16 UTC |
This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.
Believe this infringes your rights? Submit a takedown request.