TeX Live SyncTeX Parser Heap Use-After-Free via Malformed SyncTeX File
cve-program · CVE-2026-63729
PublishedThe SyncTeX parser (synctex_parser.c) shipped with TeX Live and embedded by downstream consumers such as GNOME Evince contains a heap use-after-free vulnerability that allows attackers to crash applications or potentially execute arbitrary code by supplying a malformed .synctex or .synctex.gz file. A malformed SyncTeX file can construct a ref node with a NULL parent pointer, causing the replacement routine to fail to detach the node from its sibling chain, which triggers recursive freeing of live tree nodes and leaves dangling pointers that are later accessed by the parser during document load.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-63729 · CVE overview and exploitation status
cve-program · CVE-2026-63729
- https://github.com/TeX-Live/texlive-source/
- https://github.com/TeX-Live/texlive-source/commit/002dcd3eac30db5c352f53d4181737961cc7ee9a
- https://fatihhcelik.github.io/posts/evince-synctex-heap-use-after-free/
- https://www.vulncheck.com/advisories/tex-live-synctex-parser-heap-use-after-free-via-malformed-synctex-file
Related changes
Linked by CVE identifierNo related changes are available here.