PyMuPDFに遠隔からコードを実行される脆弱性、修正版は2.0
Summary
PyMuPDF 1.25.3から2.0より前の版に、スタックバッファオーバーフローの脆弱性(CVE-2026-120752)が見つかりました。Page.add_freetext_annot()のcallout引数に4つ以上の点を渡されると、プロセスが停止するか、コードを実行される可能性があります。修正版の2.0に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
PyMuPDF 1.25.3から2.0より前の版に、スタックバッファオーバーフローの脆弱性(CVE-2026-120752)が見つかりました。Page.add_freetext_annot()のcallout引数に4つ以上の点を渡されると、プロセスが停止するか、コードを実行される可能性があります。修正版の2.0に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| PyMuPDFPyMuPDF |
≥ 1.25.3, < 2.0→ 2.0 |
2.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-120752 pymupdf Fix available
- Ubuntu UBUNTU-CVE-2026-120752 pymupdf No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- REDHAT Red Hat
- web github.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web github.com