Skip to content

Add advisory for pypdfium2 (bundled PDFium, CVE-2026-110155) - #420

Open
LedgerandLoom wants to merge 1 commit into
pypa:mainfrom
LedgerandLoom:pypdfium2-cve-2026-110155
Open

LedgerandLoom wants to merge 1 commit into
pypa:mainfrom
LedgerandLoom:pypdfium2-cve-2026-110155

Conversation

@LedgerandLoom

Copy link
Copy Markdown

Closes #401

pypdfium2 wheels bundle a prebuilt PDFium library from the pdfium-binaries project. Every released version up to and
including 5.14.0 bundles a PDFium build that predates the fix for CVE-2026-110155. That CVE is a heap-based buffer
overflow (CWE-122) in PDFium's AGG rasterizer, rated High (CVSS 3.1 8.8, CISA-ADP on NVD; Chromium severity High).

NVD only lists Google Chrome as affected (CPE), so nothing links this CVE to the PyPI package today. pip-audit, OSV and
the PyPI JSON API all report pypdfium2 5.14.0 as having no known vulnerabilities. This entry adds that link. It follows
the pattern of PYSEC-2023-175, where Pillow bundled an affected libwebp (CVE-2023-4863).

Evidence

Ranges

There is no fixed release yet. The range is therefore introduced: 0 with last_affected: 5.14.0. The fix changes a
value in PDFium's vendored AGG 2.3 code (a new patch under third_party/agg23, "matching the equivalent code in newer
versions of AGG"), so every earlier PDFium build carries the old code. We will follow up with a fixed event once a
pypdfium2 release bundles pdfium-binaries chromium/8100 or later.

Workaround

Until such a release exists, users who render untrusted PDF documents can build pypdfium2 against pdfium-binaries
chromium/8100 or later.

Reported by Robijn, Ledger & Loom, found while assessing the dependencies of a desktop product.

New entry for pypdfium2: wheels up to 5.14.0 bundle pdfium-binaries chromium/8076, which predates the PDFium fix for CVE-2026-110155. Proposed earlier as issue pypa#401.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New advisory: pypdfium2 bundles a PDFium build affected by CVE-2026-110155

1 participant