Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pypdf
  4. ›
  5. CVE-2026-102996

CVE-2026-102996: pypdf: Possible large memory usage when parsing font data

October 1, 2026

An attacker who uses this vulnerability can craft a PDF which leads to large memory consumption. This requires parsing the /Widths entry of a TrueType or Type1 fonts with unusually large values, for example during text extraction.

References

  • github.com/advisories/GHSA-g9cg-prrw-2r8q
  • github.com/py-pdf/pypdf/commit/0fb26eb8cdd01c44b3b2c9fe8329751be2f7cfd5
  • github.com/py-pdf/pypdf/pull/4072
  • github.com/py-pdf/pypdf/releases/tag/6.18.1
  • github.com/py-pdf/pypdf/security/advisories/GHSA-g9cg-prrw-2r8q
  • nvd.nist.gov/vuln/detail/CVE-2026-102996

Code Behaviors & Features

Detect and mitigate CVE-2026-102996 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.18.1

Fixed versions

  • 6.18.1

Solution

Upgrade to version 6.18.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/pypdf/CVE-2026-102996.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 15 Oct 2026 12:17:00 +0000.