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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-121"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120752.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.25.3"
},
{
"fixed": "2.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "d4298ead84ceeae1c9065c81cd9a275a1b092f5e"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "2.0",
"range": [
{
"fixed": "b8904b27efa0c4e2258f0e46ab4498a6173ffa22"
}
],
"source": "REFERENCES_TAG"
}
]
}