CVE-2026-120752 PUBLISHED

PyMuPDF 1.25.3 before 2.0 Stack Buffer Overflow via add_freetext_annot() Callout

Assigner: VulnCheck
Reserved: 02.11.2026 Published: 02.11.2026 Updated: 02.11.2026

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.

Metrics

CVSS Vector: 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 Score: 7.7

Product Status

Vendor PyMuPDF
Product PyMuPDF
Versions Default: unaffected
  • affected from 1.25.3 to 2.0 (excl.)

Credits

  • k3rn3lbr3ach3r finder
  • Dilanka Kaushal Hewage (r3vpwnx) analyst

References

Problem Types

  • Stack-based Buffer Overflow CWE