Amazon Linux 2 Security Advisory: ALAS2-2026-3817
Advisory Released Date: 2026-07-20
Advisory Updated Date: 2026-07-20
A security flaw has been discovered in pygments up to 2.19.2. The impacted element is the function AdlLexer of the file pygments/lexers/archetype.py. The manipulation results in inefficient regular expression complexity. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet. (CVE-2026-4539)
Affected Packages:
python3-pygments
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update python3-pygments or yum update --advisory ALAS2-2026-3817 to update your system.
noarch:
python3-pygments-2.2.0-3.amzn2.0.4.noarch
python3-pygments-doc-2.2.0-3.amzn2.0.4.noarch
src:
python3-pygments-2.2.0-3.amzn2.0.4.src