CVE-2026-46529
JSON

8.4high

PDF /GoToR action argv injection enables single-click RCE via --gtk-module dlopen

Severity
8.4high CVSS:4.0 by GitHub_M
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

Atril Document Viewer is the default document reader of the MATE desktop environment for Linux. A single-click remote code execution vulnerability in versions prior to 1.26.3 and 1.28.4 allows an attacker to achieve arbitrary code execution as the user by tricking them into clicking a link inside a malicious PDF document. The PDF can be packaged as a polyglot file that is simultaneously a valid PDF and a valid ELF shared library, making the attack a single-file, single-click, configuration-independent RCE on stock atril installations. The root cause is `shell/ev-application.c:ev_spawn`, which builds a command line from attacker-controlled PDF link-destination fields without applying `g_shell_quote`. The cmdline is then handed to `g_app_info_create_from_commandline`, which shell-parses it back into argv — splitting any embedded `--gtk-module=PATH` into a separate argv element. GTK then `dlopen()`s the path during init, running any `__attribute__((constructor))` it finds. Versions 1.26.3 and 1.28.4 contain a patch for the issue. This is the same defect class as CVE-2023-51698 (CBT `--checkpoint-action` injection in `comics-document.c`, fixed in 1.6.2) but in a different code path (`shell/ev-application.c`) that the original patch did not touch.

Affected

Product or packageVersionsReported by
mate-desktop atril< 1.26.3, >= 1.27.0, < 1.28.4CVE List
evinceNot specified
Not affected: from 0:3.28.2-11.el7_9 before *, from 0:3.28.4-17.el8_10 before *, from 0:3.28.4-11.el8_4.1 before *, from 0:3.28.4-16.el8_6.1 before *, from 0:3.28.4-16.el8_8.1 before *, from 0:40.5-4.el9_8.1 before *
CVE List

All scores

GitHub_M8.4high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
redhat-SADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-77CWE-88CWE-829

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

Atril Document Viewer is the default document reader of the MATE desktop environment for Linux. A single-click remote code execution vulnerability in versions prior to 1.26.3 and 1.28.4 allows an attacker to achieve arbitrary code execution as the user by tricking them into clicking a link inside a malicious PDF document. The PDF can be packaged as a polyglot file that is simultaneously a valid PDF and a valid ELF shared library, making the attack a single-file, single-click, configuration-independent RCE on stock atril installations. The root cause is `shell/ev-application.c:ev_spawn`, which builds a command line from attacker-controlled PDF link-destination fields without applying `g_shell_quote`. The cmdline is then handed to `g_app_info_create_from_commandline`, which shell-parses it back into argv — splitting any embedded `--gtk-module=PATH` into a separate argv element. GTK then `dlopen()`s the path during init, running any `__attribute__((constructor))` it finds. Versions 1.26.3 and 1.28.4 contain a patch for the issue. This is the same defect class as CVE-2023-51698 (CBT `--checkpoint-action` injection in `comics-document.c`, fixed in 1.6.2) but in a different code path (`shell/ev-application.c`) that the original patch did not touch.

NVD (es)

Atril Document Viewer es el lector de documentos predeterminado del entorno de escritorio MATE para Linux. Una vulnerabilidad de ejecución remota de código de un solo clic en versiones anteriores a la 1.26.3 y 1.28.4 permite a un atacante lograr la ejecución de código arbitrario como el usuario engañándolos para que hagan clic en un enlace dentro de un documento PDF malicioso. El PDF puede empaquetarse como un archivo políglota que es simultáneamente un PDF válido y una biblioteca compartida ELF válida, haciendo del ataque una RCE de un solo archivo, un solo clic y configuración independiente en instalaciones de atril estándar. La causa raíz es ’shell/ev-application.c:ev_spawn’, que construye una línea de comandos a partir de campos de destino de enlace PDF controlados por el atacante sin aplicar ’g_shell_quote’. La línea de comandos se entrega luego a ’g_app_info_create_from_commandline’, que la analiza de nuevo en argv - dividiendo cualquier ’--gtk-module=PATH’ incrustado en un elemento argv separado. GTK luego ’dlopen()’ la ruta durante la inicialización, ejecutando cualquier ’__attribute__((constructor))’ que encuentre. Las versiones 1.26.3 y 1.28.4 contienen un parche para el problema. Esta es la misma clase de defecto que CVE-2023-51698 (inyección de CBT ’--checkpoint-action’ en ’comics-document.c’, corregido en 1.6.2) pero en una ruta de código diferente (’shell/ev-application.c’) que el parche original no tocó.

References

https://github.com/mate-desktop/atril/security/advisories/GHSA-vgv2-m826-8f6fexploit
https://github.com/mate-desktop/atril/releases/tag/v1.26.3
https://github.com/mate-desktop/atril/releases/tag/v1.28.4
http://www.openwall.com/lists/oss-security/2026/05/19/34
http://www.openwall.com/lists/oss-security/2026/05/21/7
http://www.openwall.com/lists/oss-security/2026/05/22/11
https://lists.debian.org/debian-lts-announce/2026/05/msg00041.html
https://lists.debian.org/debian-lts-announce/2026/05/msg00042.html
https://lists.debian.org/debian-lts-announce/2026/06/msg00021.html
https://access.redhat.com/security/cve/CVE-2026-46529vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2487669issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46529.json

Sources

SourceRecordLicence
CVE ListCVE-2026-46529 changed 2026-07-28CVE Terms of Use
NVDCVE-2026-46529 changed 2026-10-26Public domain