CVE-2023-51698
NixOS vulnerability analysis and mitigation

Overview

Atril, a simple multi-page document viewer, was found to contain a critical Command Injection Vulnerability (CVE-2023-51698). The vulnerability was discovered in January 2024 and affects all versions up to 1.26.3. This security flaw impacts multiple Linux distributions using MATE, Cinnamon, and some Xfce desktop environments, including Kali Linux, Parrot OS, Ubuntu-Mate, Xubuntu, Fedora, and Ubuntu Kylin (GitHub Advisory).

Technical details

The vulnerability exists in Atril's CBT comic book parsing functionality, specifically in the handling of comic book documents (.cbr, .cbz, .cbt, .cb7). The issue stems from the use of shell commands for decompression in the comics-document.c file. The vulnerability can be exploited using a maliciously crafted CBT document (TAR archive) by leveraging the tar program's '--checkpoint-action' option to execute arbitrary commands. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (HIGH) by NVD and 9.6 (CRITICAL) by GitHub (NVD, GitHub Advisory).

Impact

When exploited, this vulnerability allows attackers to gain immediate access to the target system when a user opens a crafted document or clicks on a crafted link/URL. The vulnerability is particularly dangerous due to the atril-previewer component, which can trigger the exploit without user interaction when visiting a malicious webpage. This can lead to remote code execution with the privileges of the user running Atril (GitHub Advisory).

Mitigation and workarounds

A patch has been released in commit ce41df6, which eliminates the use of external commands for opening comic documents and uses libarchive instead. Various distributions have released security updates, including Fedora 38 (version 1.26.2-2.fc38) and Fedora 39 (version 1.26.2-1.fc39). Ubuntu has also released fixes for multiple versions (Fedora Update, GitHub Patch).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22783HIGH8.1
  • NixOSNixOS
  • iris
NoYesJan 12, 2026
CVE-2026-0821MEDIUM6.9
  • NixOSNixOS
  • quickjs
NoNoJan 10, 2026
CVE-2025-68949MEDIUM5.3
  • NixOSNixOS
  • n8n
NoYesJan 13, 2026
CVE-2026-22784LOW2.3
  • NixOSNixOS
  • lychee
NoYesJan 12, 2026
CVE-2026-23497LOW1.3
  • NixOSNixOS
  • learning
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management