Bug 2567074

Summary: CVE-2026-120752 python-PyMuPDF: PyMuPDF: Arbitrary code execution via stack-based buffer overflow in JM_set_annot_callout_line [fedora-43]
Product: [Fedora] Fedora Reporter: Oleg Sushchenko <osushche>
Component: python-PyMuPDFAssignee: Michael J Gruber <mjg>
Status: ON_QA --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 43CC: cbm, mjg
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["6a38f7b4-8f5f-4f3d-9d3a-7d8fc28617c8"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2565416    

Description Oleg Sushchenko 2026-11-04 15:56:52 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-11-05 07:18:57 UTC
FEDORA-2026-141982f4f6 (python-PyMuPDF-1.27.2.2-3.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-141982f4f6

Comment 2 Fedora Update System 2026-11-06 03:33:16 UTC
FEDORA-2026-141982f4f6 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-141982f4f6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-141982f4f6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.