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.
{
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libperl5.34",
"binary_version": "5.34.0-3ubuntu1.8"
},
{
"binary_name": "perl",
"binary_version": "5.34.0-3ubuntu1.8"
},
{
"binary_name": "perl-base",
"binary_version": "5.34.0-3ubuntu1.8"
},
{
"binary_name": "perl-debug",
"binary_version": "5.34.0-3ubuntu1.8"
},
{
"binary_name": "perl-modules-5.34",
"binary_version": "5.34.0-3ubuntu1.8"
}
]
}{
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libperl5.38t64",
"binary_version": "5.38.2-3.2ubuntu0.4"
},
{
"binary_name": "perl",
"binary_version": "5.38.2-3.2ubuntu0.4"
},
{
"binary_name": "perl-base",
"binary_version": "5.38.2-3.2ubuntu0.4"
},
{
"binary_name": "perl-debug",
"binary_version": "5.38.2-3.2ubuntu0.4"
},
{
"binary_name": "perl-modules-5.38",
"binary_version": "5.38.2-3.2ubuntu0.4"
}
]
}{
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libperl5.40",
"binary_version": "5.40.1-7ubuntu0.3"
},
{
"binary_name": "perl",
"binary_version": "5.40.1-7ubuntu0.3"
},
{
"binary_name": "perl-base",
"binary_version": "5.40.1-7ubuntu0.3"
},
{
"binary_name": "perl-debug",
"binary_version": "5.40.1-7ubuntu0.3"
},
{
"binary_name": "perl-modules-5.40",
"binary_version": "5.40.1-7ubuntu0.3"
}
]
}{
"availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libcgi-fast-perl",
"binary_version": "5.18.2-2ubuntu1.7+esm8"
},
{
"binary_name": "libperl5.18",
"binary_version": "5.18.2-2ubuntu1.7+esm8"
},
{
"binary_name": "perl",
"binary_version": "5.18.2-2ubuntu1.7+esm8"
},
{
"binary_name": "perl-base",
"binary_version": "5.18.2-2ubuntu1.7+esm8"
},
{
"binary_name": "perl-debug",
"binary_version": "5.18.2-2ubuntu1.7+esm8"
},
{
"binary_name": "perl-modules",
"binary_version": "5.18.2-2ubuntu1.7+esm8"
}
]
}{
"availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libperl5.22",
"binary_version": "5.22.1-9ubuntu0.9+esm3"
},
{
"binary_name": "perl",
"binary_version": "5.22.1-9ubuntu0.9+esm3"
},
{
"binary_name": "perl-base",
"binary_version": "5.22.1-9ubuntu0.9+esm3"
},
{
"binary_name": "perl-debug",
"binary_version": "5.22.1-9ubuntu0.9+esm3"
},
{
"binary_name": "perl-modules-5.22",
"binary_version": "5.22.1-9ubuntu0.9+esm3"
}
]
}{
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libperl5.26",
"binary_version": "5.26.1-6ubuntu0.7+esm3"
},
{
"binary_name": "perl",
"binary_version": "5.26.1-6ubuntu0.7+esm3"
},
{
"binary_name": "perl-base",
"binary_version": "5.26.1-6ubuntu0.7+esm3"
},
{
"binary_name": "perl-debug",
"binary_version": "5.26.1-6ubuntu0.7+esm3"
},
{
"binary_name": "perl-modules-5.26",
"binary_version": "5.26.1-6ubuntu0.7+esm3"
}
]
}{
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libperl5.30",
"binary_version": "5.30.0-9ubuntu0.5+esm3"
},
{
"binary_name": "perl",
"binary_version": "5.30.0-9ubuntu0.5+esm3"
},
{
"binary_name": "perl-base",
"binary_version": "5.30.0-9ubuntu0.5+esm3"
},
{
"binary_name": "perl-debug",
"binary_version": "5.30.0-9ubuntu0.5+esm3"
},
{
"binary_name": "perl-modules-5.30",
"binary_version": "5.30.0-9ubuntu0.5+esm3"
}
]
}