Skip to main content

TeX Live EUVDEUVD-2026-46144

| CVE-2026-63729 MEDIUM
Use After Free (CWE-416)
2026-07-21 VulnCheck GHSA-jf22-92mg-7xxh
6.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Deliver malformed .synctex file to victim
  2. Delivery
    Victim opens companion PDF document
  3. Exploit
    Parser calls _synctex_post_process_ref on ref node
  4. Install
    NULL parent bypasses sibling detachment
  5. C2
    synctex_node_free recursively frees live tree nodes
  6. Execute
    UAF fires on subsequent tree traversal
  7. Impact
    Application crash or code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target user must actively open a document with an accompanying malformed .synctex or .synctex.gz file using a SyncTeX-enabled application (TeX Live tools, GNOME Evince, or any downstream consumer embedding synctex_parser.c). The CVSS 4.0 vector confirms AV:L and UI:A: the attacker must be able to place the malicious file in a location accessible to the victim, and the victim must actively open the document. No authentication or elevated privileges are required - opening a file as a regular user is sufficient. Exploitation is limited by: the requirement for user interaction (opening the file), the local attack vector (no remote unauthenticated network-reachable path without social engineering), and the need for the application to process the .synctex companion file (SyncTeX must be active/enabled in the viewer). Non-default or disabled SyncTeX configurations would not be exploitable.

Impact

The CVSS 4.0 base score of 6.8 (Medium) appropriately captures the risk profile: AV:L constrains exploitation to scenarios where the attacker can deliver a malformed file to a user who then opens it, and UI:A requires active user interaction, significantly limiting opportunistic mass exploitation. Availability impact is High (crash is reliably achievable), while Confidentiality and Integrity are Low - RCE is plausible but not guaranteed without a working exploit. EPSS data was not provided in the input and cannot be assessed; KEV status is not confirmed, so there is no evidence of active mass exploitation. The researcher's technical blog post and the RCE tag elevate concern above a pure crash-only finding. The wildcard CPE (*:*:*:*:*:*:*:*) suggests all TeX Live versions are affected prior to the patch commit, though no exact vulnerable version range or patched release version is confirmed by the input data. The fact that GNOME Evince embeds synctex_parser.c means the vulnerable code reaches desktop Linux users who may not directly use TeX Live, widening the affected population beyond the TeX user base.

Exploit ScenarioDerived

An attacker crafts a malformed .synctex.gz file with a ref node whose parent pointer resolves to NULL, then delivers it alongside a companion PDF document - for example, via email, shared network storage, or a compromised document repository. When the target user opens the PDF in GNOME Evince or another SyncTeX-enabled viewer, the parser processes the malformed ref, the UAF fires as freed sibling nodes are recursively traversed, and the application crashes or - depending on heap layout - executes attacker-controlled code. A detailed technical write-up of the mechanism is publicly available at https://fatihhcelik.github.io/posts/evince-synctex-heap-use-after-free/.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 21, 2026

Heap use-after-free in the SyncTeX parser shipped with TeX Live and embedded by GNOME Evince allows crash or potential arbitrary code execution when a user opens a malformed .synctex or .synctex.gz file. The flaw stems from a NULL parent pointer condition in _synctex_post_process_ref() that bypasses node detachment, causing recursive freeing of live tree nodes and leaving dangling pointers later accessed during document parsing. Exploitation requires local file access and active user interaction (UI:A per CVSS 4.0), no public exploit has been confirmed, but a detailed researcher blog post by the discoverer (Fatih Çelik) is publicly available and the RCE tag suggests demonstrated impact potential.

RemediationAI

The upstream fix is available as commit 002dcd3eac30db5c352f53d4181737961cc7ee9a in the TeX Live source repository at https://github.com/TeX-Live/texlive-source/; however, a tagged patched release version is not independently confirmed in the available data, so administrators should monitor the TeX Live distribution channel and apply updates as they become available. Downstream consumers - particularly GNOME Evince - should patch their embedded copy of synctex_parser.c with the same changes: resetting sibling/child pointers before recursive free calls in _synctex_free_node, _synctex_free_leaf, _synctex_free_input, and adding __synctex_tree_reset_sibling/parent() calls at the _synctex_post_process_ref site before synctex_node_free(ref). As a compensating control where patching is not immediately possible, disabling SyncTeX support in document viewers (if configurable) would eliminate the attack surface - note this trades off forward/inverse search between PDF output and TeX source. Restricting document viewer access to trusted file sources and blocking untrusted .synctex/.synctex.gz files at file transfer boundaries are additional mitigations. VulnCheck advisory is at https://www.vulncheck.com/advisories/tex-live-synctex-parser-heap-use-after-free-via-malformed-synctex-file.

Affected VersionsENISA

TeX Live patch: TeX Live 2026
TeX Live 0 ≤TeX Live 2025

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SyncTeX is a synchronization protocol between TeX source and PDF output, implemented in synctex_parser.c and distributed as part of TeX Live (CPE: cpe:2.3:a:tex_live:tex_live:*:*:*:*:*:*:*:*). The parser is also embedded by downstream consumers including GNOME Evince. The root cause (CWE-416: Use After Free) is in _synctex_post_process_ref() at line 5799: when __synctex_replace_ref() encounters a ref node with a NULL parent pointer - a condition trivially injectable via fuzzing or crafted input - it exits the error path at line 5771 without resetting the ref's sibling pointer. When synctex_node_free(ref) is then called unconditionally, _synctex_free_leaf() follows the stale sibling pointer and recursively frees nodes that are still part of the live tree. When those nodes are subsequently accessed during tree traversal or destruction, the UAF fires. The patch (commit 002dcd3eac30db5c352f53d4181737961cc7ee9a) resolves this by resetting sibling and child pointers before any recursive free call across _synctex_free_node, _synctex_free_leaf, _synctex_free_input, and the _synctex_post_process_ref site itself.

Know when Tex Live gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.6 MEDIUM

Local file vector with required user interaction (open document); no privileges needed; availability impact high (reliable crash), integrity and confidentiality low (potential but unconfirmed RCE).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE 6.6 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Red Hat 6.6 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

The 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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
widely used in academic and scientific Linux environments, Evince ships in most GNOME desktops
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 12 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy