CVE-2026-78322: File-roller: file-roller: stack buffer overflow in parse_progress_line for 7z and rar handlers

Published Aug 24, 2026
·
Updated

A flaw was found in file-roller. When opening or extracting a malicious 7z or RAR archive containing a file entry with an excessively long path, file-roller's progress-line parsing copies the path into a fixed-size stack buffer using an unbounded string copy. This can trigger a stack buffer overflow and cause file-roller to terminate, resulting in a denial of service. To exploit this flaw, a victim must open or extract the crafted archive using file-roller.

Other sources

A stack-based buffer overflow exists in file-roller's parseprogressline() functions in the 7z and RAR archive backends (src/fr-command-7z.c and src/fr-command-rar.c). When processing output from the 7z or rar subprocess, file paths from archive entries are copied with strcpy() into fixed-size stack buffers (4196 and 4096 bytes) without length validation. An archive containing a file entry with a path longer than these buffers causes a stack buffer overflow when the user opens or extracts the archive in file-roller, resulting in denial of service (process termination). Practical code execution is considered difficult on hardened builds with stack canaries, PIE, and ASLR.

Reported upstream as https://gitlab.gnome.org/GNOME/file-roller/-/issues/327 by Yukihiro Nakamura. Fixed upstream in commit ffb76dc866342cef6a4914873faaa880d14d5aa4 ("Check line length when parsing command output"), first released in file-roller 44.7.

Red Hat

Affected Software

1 affected component
file-roller<44.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade file-roller to a version that resolves this vulnerability.

    Fixed in 44.7Patch ffb76dc866342cef6a4914873faaa880d14d5aa4
  2. Compensating control

    Mitigate by avoiding opening or extracting crafted 7z or RAR archives that contain excessively long file entry paths in file-roller.

Event History

Aug 24, 2026
Data Sourced
via Red Hat·08:58 AM
DescriptionSeverityAffected Software
Aug 25, 2026
CVE Published
via MITRE·07:21 AM
Data Sourced
via MITRE·07:21 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:18 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What user action is required for exploitation?

A victim must open or extract a crafted 7z or RAR archive with file-roller. The archive must contain a file entry with an excessively long path.

2

What is the practical impact of a successful exploit?

The overflow can cause file-roller to terminate, resulting in a denial of service. The provided information does not describe confidentiality or integrity impact.

3

Which archive formats and code paths are affected?

The issue affects file-roller's progress-line parsing for its 7z and RAR handlers. The vulnerable operation occurs while processing a malicious archive entry path during opening or extraction.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203