Skip to content
OpenAdvisories
Medium ALAS2023-2026-3211 2 CVEs

Moderate: perl security update (Amazon Linux 2023)

Published Oct 12, 2026 · Updated Oct 12, 2026

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-57432: Perl versions through 5.43.10 have an integer overflow in S_measure_struct leading to an out-of-bounds heap read in pack and unpack. S_measure_struct adds each item's size times its repeat count to a running total with no overflow check, so a large repeat count in a pack or unpack template wraps the signed SSize_t total negative. The @, X, and x position codes then guard their moves with a signed length comparison that passes when the length is negative, advancing the buffer pointer out of bounds. A template derived from untrusted input can read heap memory past the buffer and return it to the caller. CVE-2026-13221: Perl versions through 5.43.9 produce silently incorrect regular expression matches when an alternation of more than 65535 fixed string branches is compiled into a trie in Perl_study_chunk. When such branches are combined into a trie, the delta between the first branch and the shared tail is stored in a 16-bit field. A branch count above 65535 overflows the field, and the trie's match decision table is truncated with no warning or error. A pattern of this shape produces false positive matches (matching strings it should not) and false negative matches (failing to match strings it should). When such a pattern gates an access or filtering decision, the result is wrong.

Fixed packages 121

ReleasePackageFixed in
Amazon Linux · 2023 perl 4:5.32.1-477.amzn2023.0.10
Amazon Linux · 2023 perl-Attribute-Handlers 0:1.01-477.amzn2023.0.10
Amazon Linux · 2023 perl-AutoLoader 0:5.74-477.amzn2023.0.10
Amazon Linux · 2023 perl-AutoSplit 0:5.74-477.amzn2023.0.10
Amazon Linux · 2023 perl-autouse 0:1.11-477.amzn2023.0.10
Amazon Linux · 2023 perl-B 0:1.80-477.amzn2023.0.10
Amazon Linux · 2023 perl-B-debuginfo 0:1.80-477.amzn2023.0.10
Amazon Linux · 2023 perl-base 0:2.27-477.amzn2023.0.10
Amazon Linux · 2023 perl-Benchmark 0:1.23-477.amzn2023.0.10
Amazon Linux · 2023 perl-blib 0:1.07-477.amzn2023.0.10
Amazon Linux · 2023 perl-Class-Struct 0:0.66-477.amzn2023.0.10
Amazon Linux · 2023 perl-Config-Extensions 0:0.03-477.amzn2023.0.10
Amazon Linux · 2023 perl-DBM_Filter 0:0.06-477.amzn2023.0.10
Amazon Linux · 2023 perl-debugger 0:1.56-477.amzn2023.0.10
Amazon Linux · 2023 perl-debuginfo 4:5.32.1-477.amzn2023.0.10
Amazon Linux · 2023 perl-debugsource 4:5.32.1-477.amzn2023.0.10
Amazon Linux · 2023 perl-deprecate 0:0.04-477.amzn2023.0.10
Amazon Linux · 2023 perl-devel 4:5.32.1-477.amzn2023.0.10
Amazon Linux · 2023 perl-Devel-Peek 0:1.28-477.amzn2023.0.10
Amazon Linux · 2023 perl-Devel-Peek-debuginfo 0:1.28-477.amzn2023.0.10
Amazon Linux · 2023 perl-Devel-SelfStubber 0:1.06-477.amzn2023.0.10
Amazon Linux · 2023 perl-diagnostics 0:1.37-477.amzn2023.0.10
Amazon Linux · 2023 perl-DirHandle 0:1.05-477.amzn2023.0.10
Amazon Linux · 2023 perl-doc 0:5.32.1-477.amzn2023.0.10
Amazon Linux · 2023 perl-Dumpvalue 0:2.27-477.amzn2023.0.10
Amazon Linux · 2023 perl-DynaLoader 0:1.47-477.amzn2023.0.10
Amazon Linux · 2023 perl-encoding-warnings 0:0.13-477.amzn2023.0.10
Amazon Linux · 2023 perl-English 0:1.11-477.amzn2023.0.10
Amazon Linux · 2023 perl-Errno 0:1.30-477.amzn2023.0.10
Amazon Linux · 2023 perl-ExtUtils-Constant 0:0.25-477.amzn2023.0.10
Amazon Linux · 2023 perl-ExtUtils-Embed 0:1.35-477.amzn2023.0.10
Amazon Linux · 2023 perl-ExtUtils-Miniperl 0:1.09-477.amzn2023.0.10
Amazon Linux · 2023 perl-Fcntl 0:1.13-477.amzn2023.0.10
Amazon Linux · 2023 perl-Fcntl-debuginfo 0:1.13-477.amzn2023.0.10
Amazon Linux · 2023 perl-fields 0:2.27-477.amzn2023.0.10
Amazon Linux · 2023 perl-File-Basename 0:2.85-477.amzn2023.0.10
Amazon Linux · 2023 perl-File-Compare 0:1.100.600-477.amzn2023.0.10
Amazon Linux · 2023 perl-File-Copy 0:2.34-477.amzn2023.0.10
Amazon Linux · 2023 perl-File-DosGlob 0:1.12-477.amzn2023.0.10
Amazon Linux · 2023 perl-File-DosGlob-debuginfo 0:1.12-477.amzn2023.0.10
Amazon Linux · 2023 perl-File-Find 0:1.37-477.amzn2023.0.10
Amazon Linux · 2023 perl-File-stat 0:1.09-477.amzn2023.0.10
Amazon Linux · 2023 perl-FileCache 0:1.10-477.amzn2023.0.10
Amazon Linux · 2023 perl-FileHandle 0:2.03-477.amzn2023.0.10
Amazon Linux · 2023 perl-filetest 0:1.03-477.amzn2023.0.10
Amazon Linux · 2023 perl-FindBin 0:1.51-477.amzn2023.0.10
Amazon Linux · 2023 perl-GDBM_File 0:1.18-477.amzn2023.0.10
Amazon Linux · 2023 perl-GDBM_File-debuginfo 0:1.18-477.amzn2023.0.10
Amazon Linux · 2023 perl-Getopt-Std 0:1.12-477.amzn2023.0.10
Amazon Linux · 2023 perl-Hash-Util 0:0.23-477.amzn2023.0.10
Amazon Linux · 2023 perl-Hash-Util-debuginfo 0:0.23-477.amzn2023.0.10
Amazon Linux · 2023 perl-Hash-Util-FieldHash 0:1.20-477.amzn2023.0.10
Amazon Linux · 2023 perl-Hash-Util-FieldHash-debuginfo 0:1.20-477.amzn2023.0.10
Amazon Linux · 2023 perl-I18N-Collate 0:1.02-477.amzn2023.0.10
Amazon Linux · 2023 perl-I18N-Langinfo 0:0.19-477.amzn2023.0.10
Amazon Linux · 2023 perl-I18N-Langinfo-debuginfo 0:0.19-477.amzn2023.0.10
Amazon Linux · 2023 perl-I18N-LangTags 0:0.44-477.amzn2023.0.10
Amazon Linux · 2023 perl-if 0:0.60.800-477.amzn2023.0.10
Amazon Linux · 2023 perl-interpreter 4:5.32.1-477.amzn2023.0.10
Amazon Linux · 2023 perl-interpreter-debuginfo 4:5.32.1-477.amzn2023.0.10
Amazon Linux · 2023 perl-IO 0:1.43-477.amzn2023.0.10
Amazon Linux · 2023 perl-IO-debuginfo 0:1.43-477.amzn2023.0.10
Amazon Linux · 2023 perl-IPC-Open3 0:1.21-477.amzn2023.0.10
Amazon Linux · 2023 perl-less 0:0.03-477.amzn2023.0.10
Amazon Linux · 2023 perl-lib 0:0.65-477.amzn2023.0.10
Amazon Linux · 2023 perl-libnetcfg 4:5.32.1-477.amzn2023.0.10
Amazon Linux · 2023 perl-libs 4:5.32.1-477.amzn2023.0.10
Amazon Linux · 2023 perl-libs-debuginfo 4:5.32.1-477.amzn2023.0.10
Amazon Linux · 2023 perl-locale 0:1.09-477.amzn2023.0.10
Amazon Linux · 2023 perl-Locale-Maketext-Simple 1:0.21-477.amzn2023.0.10
Amazon Linux · 2023 perl-macros 4:5.32.1-477.amzn2023.0.10
Amazon Linux · 2023 perl-Math-Complex 0:1.59-477.amzn2023.0.10
Amazon Linux · 2023 perl-Memoize 0:1.03-477.amzn2023.0.10
Amazon Linux · 2023 perl-meta-notation 0:5.32.1-477.amzn2023.0.10
Amazon Linux · 2023 perl-Module-Loaded 1:0.08-477.amzn2023.0.10
Amazon Linux · 2023 perl-mro 0:1.23-477.amzn2023.0.10
Amazon Linux · 2023 perl-mro-debuginfo 0:1.23-477.amzn2023.0.10
Amazon Linux · 2023 perl-NDBM_File 0:1.15-477.amzn2023.0.10
Amazon Linux · 2023 perl-NDBM_File-debuginfo 0:1.15-477.amzn2023.0.10
Amazon Linux · 2023 perl-Net 0:1.02-477.amzn2023.0.10
Amazon Linux · 2023 perl-NEXT 0:0.67-477.amzn2023.0.10
Amazon Linux · 2023 perl-ODBM_File 0:1.16-477.amzn2023.0.10
Amazon Linux · 2023 perl-ODBM_File-debuginfo 0:1.16-477.amzn2023.0.10
Amazon Linux · 2023 perl-Opcode 0:1.48-477.amzn2023.0.10
Amazon Linux · 2023 perl-Opcode-debuginfo 0:1.48-477.amzn2023.0.10
Amazon Linux · 2023 perl-open 0:1.12-477.amzn2023.0.10
Amazon Linux · 2023 perl-overload 0:1.31-477.amzn2023.0.10
Amazon Linux · 2023 perl-overloading 0:0.02-477.amzn2023.0.10
Amazon Linux · 2023 perl-ph 0:5.32.1-477.amzn2023.0.10
Amazon Linux · 2023 perl-Pod-Functions 0:1.13-477.amzn2023.0.10
Amazon Linux · 2023 perl-Pod-Html 0:1.25-477.amzn2023.0.10
Amazon Linux · 2023 perl-POSIX 0:1.94-477.amzn2023.0.10
Amazon Linux · 2023 perl-POSIX-debuginfo 0:1.94-477.amzn2023.0.10
Amazon Linux · 2023 perl-Safe 0:2.41-477.amzn2023.0.10
Amazon Linux · 2023 perl-Search-Dict 0:1.07-477.amzn2023.0.10
Amazon Linux · 2023 perl-SelectSaver 0:1.02-477.amzn2023.0.10
Amazon Linux · 2023 perl-SelfLoader 0:1.26-477.amzn2023.0.10
Amazon Linux · 2023 perl-sigtrap 0:1.09-477.amzn2023.0.10
Amazon Linux · 2023 perl-sort 0:2.04-477.amzn2023.0.10
Amazon Linux · 2023 perl-subs 0:1.03-477.amzn2023.0.10
Amazon Linux · 2023 perl-Symbol 0:1.08-477.amzn2023.0.10
Amazon Linux · 2023 perl-Sys-Hostname 0:1.23-477.amzn2023.0.10
Amazon Linux · 2023 perl-Sys-Hostname-debuginfo 0:1.23-477.amzn2023.0.10
Amazon Linux · 2023 perl-Term-Complete 0:1.403-477.amzn2023.0.10
Amazon Linux · 2023 perl-Term-ReadLine 0:1.17-477.amzn2023.0.10
Amazon Linux · 2023 perl-Test 0:1.31-477.amzn2023.0.10
Amazon Linux · 2023 perl-tests 4:5.32.1-477.amzn2023.0.10
Amazon Linux · 2023 perl-Text-Abbrev 0:1.02-477.amzn2023.0.10
Amazon Linux · 2023 perl-Thread 0:3.05-477.amzn2023.0.10
Amazon Linux · 2023 perl-Thread-Semaphore 0:2.13-477.amzn2023.0.10
Amazon Linux · 2023 perl-Tie 0:4.6-477.amzn2023.0.10
Amazon Linux · 2023 perl-Tie-File 0:1.06-477.amzn2023.0.10
Amazon Linux · 2023 perl-Tie-Memoize 0:1.1-477.amzn2023.0.10
Amazon Linux · 2023 perl-Time 0:1.03-477.amzn2023.0.10
Amazon Linux · 2023 perl-Time-Piece 0:1.3401-477.amzn2023.0.10
Amazon Linux · 2023 perl-Time-Piece-debuginfo 0:1.3401-477.amzn2023.0.10
Amazon Linux · 2023 perl-Unicode-UCD 0:0.75-477.amzn2023.0.10
Amazon Linux · 2023 perl-User-pwent 0:1.03-477.amzn2023.0.10
Amazon Linux · 2023 perl-utils 0:5.32.1-477.amzn2023.0.10
Amazon Linux · 2023 perl-vars 0:1.05-477.amzn2023.0.10
Amazon Linux · 2023 perl-vmsish 0:1.04-477.amzn2023.0.10

Vulnerabilities 2

  • Critical 9.1

    Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5.43.0 before 5.43.10 produce silently incorrect regular expression matches when an alternation of more than 65535 fixed string branches is compiled into a trie in Perl_study_chunk

    Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5.43.0 before 5.43.10 produce silently incorrect regular expression matches when an alternation of more than 65535 fixed string branches is compiled into a trie in Perl_study_chunk. When suc…

  • High 8.4

    Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5.43.0 before 5.43.11 have an integer overflow in S_measure_struct leading to an out-of-bounds heap read in pack and unpack

    Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5.43.0 before 5.43.11 have an integer overflow in S_measure_struct leading to an out-of-bounds heap read in pack and unpack. S_measure_struct adds each item's size times its repeat count to …

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-13221.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-57432.html