Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-114610— fpdf2: Exponential SVG '<use>' expansion causes CPU and memory exhaustion in 'FPDF.image()'

Quick assessment

Affected
py-pdf fpdf2
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

fpdf2 是一个用于 Python 的 PDF 生成库。在 2.5.0 至 2.8.8 版本中,fpdf2 的 方法会将嵌套的 SVG 引用传递给 ;而 的默认行为( )会在 处理过程中对引用的图形树执行深度复制。由于每一层嵌套都会重复引用,导致内存中的对象数量和所需处理工作量呈指数级增长,使得攻击者可通过提交一个极小的用户可控 SVG 文件,耗尽大量 CPU 和内存资源,引发 、导致 PDF 生成任务失败,并降低甚至耗尽工作节点的处理能力。 无法阻止此问题,因为这些引用是内联的,无需访问外部资源、XML 实体、

CVSS 6.5 · Medium

Affected Version Matrix 1

VendorProduct Version RangeStatus
py-pdf fpdf2 >= 2.5.0, < 2.8.8 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-114610

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
fpdf2: Exponential SVG '<use>' expansion causes CPU and memory exhaustion in 'FPDF.image()'
Source: CVE Program / CVE List V5
Vulnerability Description
fpdf2 is a PDF creation library for Python. From 2.5.0 until 2.8.8, fpdf2's SVGObject.build_xref() passes nested SVG <use> references to GraphicsContext.add_item(), whose default clone=True deep-copy behavior copies the complete referenced graphics tree during FPDF.image() processing. Repeating references at each nesting level makes the in-memory object count and processing work grow exponentially, allowing a small user-controlled SVG to consume excessive CPU and memory, raise MemoryError, fail PDF generation jobs, and reduce or exhaust worker capacity. ResourceAccessPolicy does not prevent the issue because the references are inline and require no external resource, XML entity, local file, or permissive network setting. This issue is fixed in version 2.8.8.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
py-pdf fpdf2 >= 2.5.0, < 2.8.8 -

II. Public POCs for CVE-2026-114610

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-114610

请登录查看更多情报信息。

Other References for CVE-2026-114610 (4)

IV. Related Vulnerabilities

V. Comments for CVE-2026-114610

No comments yet


Leave a comment