Bug 2562973

Summary: CVE-2026-118599 epiphany: epiphany: TAR-based .xpi with hard links can overwrite user files during WebExtension install [fedora-43]
Product: [Fedora] Fedora Reporter: Srikanth Balasubramanian <sbalasub>
Component: epiphanyAssignee: Michael Catanzaro <mcatanza>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 43CC: avovk, gecko-bugs-nobody, gnome-sig, jhorak, mcatanza, mclasen, rstrode, tpopela
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["6282f35e-1081-4165-9198-d63ce657648a"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-28 18:19:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2562969    

Description Srikanth Balasubramanian 2026-10-28 17:02:07 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 flaw was found in Epiphany's WebExtension XPI installer in decompress_xpi_thread() in src/webextension/ephy-web-extension-manager.c. libarchive was configured with archive_read_support_format_all(), so a TAR archive renamed to .xpi was accepted. TAR hard-link entries could cause libarchive's disk writer to truncate/overwrite an existing user-writable file (with ARCHIVE_EXTRACT_PERM) when the crafted extension is installed/opened. Fixed upstream in MR !2248 (commit 0cc9ab55) by registering only the ZIP reader. Related to, but distinct from, CVE-2026-77679 (ZIP slip / #2922). Affects Epiphany >= 47.0.

Comment 1 Adrian Vovk 2026-10-28 18:19:25 UTC

*** This bug has been marked as a duplicate of bug 2562977 ***