cve.bz

CVE-2026-120752 pymupdf pymupdf: Stack-based Buffer Overflow

7.7 highEPSS 0.5%

High (7.7) in pymupdf pymupdf. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
PyMuPDF 1.25.3 before 2.0 contains a stack-based buffer overflow vulnerability in JM_set_annot_callout_line() that copies a caller-supplied number of callout points into a fixed three-element stack array. Attackers who control the callout argument passed to Page.add_freetext_annot() can supply four or more points to overwrite the stack frame, crashing the process or executing code.

Severity

CVSS 4.0

7.7 high
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% (up from 0.4% a week ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-11-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-120752 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-120752?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-120752?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-120752 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
PyMuPDFfrom 1.25.3 before 2.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13pymupdfno fix listedDEBIAN-CVE-2026-120752
Debian14pymupdf2.1+ds1-1DEBIAN-CVE-2026-120752
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 2 morepymupdfno fix listedUBUNTU-CVE-2026-120752
openSUSETumbleweedpython-PyMuPDF2.1-1.1openSUSE-SU-2026:12554-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as an Important severity flaw because memory corruption leading to arbitrary code execution or application crash can occur within the running process context. In Red Hat environments, PyMuPDF is primarily utilized within specialized workloads such as AI container images and document processing pipelines. Exposure is constrained to scenarios where untrusted users can pass arbitrary annotation arguments to document editing functions, rather than routine PDF viewing.

ProductPackageStateAdvisory
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-gaudi-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-rocm-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/disk-image-cuda-rhel9Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-120752.

References

Check your stackJSON