SecurityContext

CVE-2026-120752: PyMuPDF - Buffer Overflow

  • Cve: CVE-2026-120752
  • Name: PyMuPDF - Buffer Overflow
  • Description: 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.
  • Impact: Attackers can crash the process or execute arbitrary code, potentially leading to full system compromise.
  • Remediation: Update to version 2.0 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00543
  • Epss percentile: 0.46483
  • Assignee: [email protected]
  • Published at: 2026-11-02T23:17:20Z
  • Age in days: 21
  • Modified at: 2026-11-07T03:17:04Z
  • References total: 7
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-120752
  • Nvd status: awaiting_analysis
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-121Stack-based Buffer Overflow

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/pymupdf/PyMuPDF
https://github.com/pymupdf/PyMuPDF/blob/1.28.2/src/extra.i#L787-L797
https://github.com/pymupdf/PyMuPDF/commit/d4298ead84ceeae1c9065c81cd9a275a1b092f5e
https://github.com/pymupdf/PyMuPDF/issues/5112
https://github.com/pymupdf/PyMuPDF/issues/5173
https://github.com/pymupdf/PyMuPDF/releases/tag/2.0
https://www.vulncheck.com/advisories/pymupdf-1.25.3-before-2.0-stack-buffer-overflow-via-add-freetext-annot-callout

Projects

RepositoryLink kindsIndexedUrl
pymupdf/PyMuPDFcommit, issues, releasesyes/v1/repositories/pymupdf/PyMuPDF

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts