ALAS2023-2026-3580


Amazon Linux 2023 Security Advisory: ALAS2023-2026-3580
Advisory Released Date: 2026-12-04
Advisory Updated Date: 2026-12-04
Severity: Important

Issue Overview:

Fix HG-SA-2026-004: Configuration injection, leading to arbitrary and remote code execution, through malformed subrepository URLs in .hgsub and through paths given to hg clone and hg share.

Fix HG-SA-2026-003: Writing through a symlink during a parallel update, bypassing symlink auditing.

Fix HG-SA-2026-002: Integrity check bypass through in-memory cache poisoning when unbundling.

Fix HG-SA-2026-001: Arbitrary code execution and writes outside of the working copy through .hg paths and symlinks exported by hg archive, hg cat, hg export and others, and accepted on exchange.


Affected Packages:

mercurial


Issue Correction:
Run dnf update mercurial --releasever 2023.12.20261204 or dnf update --advisory ALAS2023-2026-3580 --releasever 2023.12.20261204 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2023 documentation

New Packages:
aarch64:
    mercurial-chg-debuginfo-5.7.1-1.amzn2023.0.5.aarch64
    mercurial-hgk-5.7.1-1.amzn2023.0.5.aarch64
    mercurial-chg-5.7.1-1.amzn2023.0.5.aarch64
    mercurial-debugsource-5.7.1-1.amzn2023.0.5.aarch64
    mercurial-debuginfo-5.7.1-1.amzn2023.0.5.aarch64
    mercurial-5.7.1-1.amzn2023.0.5.aarch64

src:
    mercurial-5.7.1-1.amzn2023.0.5.src

x86_64:
    mercurial-debuginfo-5.7.1-1.amzn2023.0.5.x86_64
    mercurial-5.7.1-1.amzn2023.0.5.x86_64
    mercurial-chg-debuginfo-5.7.1-1.amzn2023.0.5.x86_64
    mercurial-hgk-5.7.1-1.amzn2023.0.5.x86_64
    mercurial-debugsource-5.7.1-1.amzn2023.0.5.x86_64
    mercurial-chg-5.7.1-1.amzn2023.0.5.x86_64