CVE-2026-63729

TeX Live SyncTeX Parser Heap Use-After-Free via Malformed SyncTeX File

Published Jul 21, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The SyncTeX parser in TeX Live is responsible for translating document positions between source and compiled output. A malformed .synctex or .synctex.gz file can create a ref node with a null parent pointer. The parser then fails to detach the node from its sibling chain, leading to recursive freeing of live tree nodes. This results in dangling pointers that are later accessed during document load, causing a heap use‑after‑free. Depending on the trigger and the environment, the vulnerability can lead to application crashes or the execution of arbitrary code.

Affected Systems

The vulnerability exists in the TeX Live distribution and is inherited by downstream consumers that embed the same parser, such as GNOME Evince. Any system running a susceptible TeX Live version that processes .synctex files—whether in editing tools, PDF viewers, or document generators—is potentially affected. Specific affected versions were not disclosed in the provided data.

Risk and Exploitability

The CVSS score of 6.8 indicates medium severity. The EPSS score of less than 1 % suggests a low probability of exploitation at the time of this analysis, and the vulnerability is not yet listed in the CISA KEV catalog. Exploitation requires an attacker to supply a crafted SyncTeX file to a user’s application; therefore the attack vector is likely local or via a privileged user who can provide the malicious file. While the description does not confirm remote exploitation, the presence of a code‑execution possibility elevates the risk for any environment that accepts untrusted SyncTeX documents.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade TeX Live to the latest patch release that addresses the use‑after‑free.
  • Update downstream applications such as GNOME Evince to their most recent versions to receive the fixed parser.
  • If an immediate update is impossible, disable SyncTeX parsing or implement file‑type validation to reject malformed files until a patch is applied.

Generated by OpenCVE AI on August 4, 2026 at 05:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Tug
Tug tex Live
CPEs cpe:2.3:a:tug:tex_live:*:*:*:*:*:*:*:*
Vendors & Products Tug
Tug tex Live
Type Values Removed Values Added
First Time appeared Tex Live
Tex Live tex Live
Vendors & Products Tex Live
Tex Live tex Live
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title TeX Live SyncTeX Parser Heap Use-After-Free via Malformed SyncTeX File
Weaknesses CWE-416
References
Metrics cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H'}

cvssV4_0

{'score': 6.8, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 24, 2026, 2:18 PM
Reserved
Jul 17, 2026, 9:21 PM
Status
Deferred
Published
Jul 21, 2026, 3:16 AM
Modified
Jul 23, 2026, 3:24 PM
Severity
Moderate
Public date
Jul 21, 2026, 1:35 AM