Skip to main content
CVE-2026-120752VulnerabilityPublished Updated

PyMuPDF 1.25.3 before 2.0 contains a stack-based buffer overflow vulnerability in JM_set_annot_callout_line() that

Affects pymupdfSource GCVE Database

0
Compare
Authoritative record:CVE-2026-120752· High 7.7

Not known to be exploited · CVSS 7.7 High.

Data as of 5 Nov 2026, 12:36 UTC

CVSS 4.0 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.07.7
CNA (VulnCheck)CVSS 3.17.5
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10pymupdfpkg:deb/ubuntu/pymupdf?arch=source&distro=stonkingOther threatsAffected
  • =1.26.7+ds1-1build1
Fixed in–
Ubuntu 26.04 LTSpymupdfpkg:deb/ubuntu/pymupdf?arch=source&distro=resoluteOther threatsAffected
  • =1.25.4+ds1-4
  • =1.26.7+ds1-1
  • =1.26.7+ds1-1build1
Fixed in–
Ubuntu 24.04 LTSpymupdfpkg:deb/ubuntu/pymupdf?arch=source&distro=nobleOther threatsAffected
  • 1.22.5+ds1-1 – 1.23.7+ds1-1ubuntu2
5 affected builds
Fixed in–
Ubuntu 22.04 LTSpymupdfpkg:deb/ubuntu/pymupdf?arch=source&distro=jammyOther threatsAffected
  • =1.17.4+ds1-2build2
  • =1.17.4+ds1-2build3
  • =1.19.2+ds1-1ubuntu1
Fixed in–
Ubuntu 20.04 LTSpymupdfpkg:deb/ubuntu/pymupdf?arch=source&distro=focalOther threatsAffected
  • =1.16.11-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is confirmed, avoid processing untrusted input with affected PyMuPDF versions or apply any available updates to PyMuPDF 2.0 or later once released.

Description

PyMuPDF versions before 2.0, including several specific builds, contain a stack-based buffer overflow vulnerability in the JM_set_annot_callout_line() function. This flaw arises because the function copies a caller-supplied number of callout points into a fixed-size three-element stack array without proper bounds checking. An attacker controlling the callout argument to Page.add_freetext_annot() can supply four or more points, leading to stack frame overwrite, which may cause a crash or enable code execution.

References

Community reviews

Loading reviews…