Bug 2523231 - CVE-2026-78322 file-roller: file-roller: stack buffer overflow in parse_progress_line for 7z and RAR handlers [epel-all]
Summary: CVE-2026-78322 file-roller: file-roller: stack buffer overflow in parse_progr...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: file-roller
Version: epel10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact:
URL:
Whiteboard: {"flaws": ["f3d205dc-a8f4-4fb5-97f5-8...
Depends On:
Blocks: CVE-2026-78322
TreeView+ depends on / blocked
 
Reported: 2026-08-25 04:54 UTC by Ganesh
Modified: 2026-08-25 04:54 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ganesh 2026-08-25 04:54:10 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A stack-based buffer overflow exists in file-roller's parse_progress_line() 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.


Note You need to log in before you can comment on or make changes to this bug.