kcve.ai취약점 정보 · 내 자산 확인

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

설명

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.

영향 받는 제품 제품 1개

  • py-pdf

    fpdf2

    해결 버전 있음

    영향 받는 버전

    • 2.5.0 이상 2.8.8 미만

    해결 버전

    • 2.8.8 이상

참고 자료 4건

‹ 목록

점검 지원 범위 문의

도입 문의