CVE-2026-41314

Memory exhaustion via unchecked image buffer allocation

Published Apr 22, 2026 · Updated Apr 22, 2026

Denial of service in py-pdf pypdf before 6.10.2 allows attackers to exhaust RAM by processing a crafted FlateDecode image. The bits2byte function multiplies attacker-controlled image dimensions and passes the unchecked result to bytearray, allocating an oversized buffer. Triggering the flaw requires an application to access the image in an untrusted PDF; memory exhaustion can interrupt the process or its host.

CVSS severity6.5
Medium
EPSS probability0.23%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Denial of service in py-pdf pypdf before 6.10.2 allows attackers to exhaust RAM by processing a crafted FlateDecode image. The bits2byte function multiplies attacker-controlled image dimensions and passes the unchecked result to bytearray, allocating an oversized buffer. Triggering the flaw requires an application to access the image in an untrusted PDF; memory exhaustion can interrupt the process or its host.

The record

CVE
CVE-2026-41314
Published
Apr 22, 2026
Updated
Apr 22, 2026
Vendor
py-pdf
Product
pypdf
Classifications
CWE-789, T1499
Attack vector
local
Privileges
unauthenticated

Timeline

How it unfolded

  1. Apr 22, 2026CVE publishedPublication date reported by the CVE source.
  2. Apr 22, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=< 6.10.2

What conditions does exploitation require?

Attack vectorlocal
Required privilegesunauthenticated

What is affected?

py-pdf · pypdfversion=< 6.10.2

Published CVSS scores

4.8GitHubCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
6.5NVDCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesunauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-789Memory Allocation with Excessive Size Value
T1499Endpoint Denial of Service

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo