Perl versions through 5.43.10 have a heap buffer overflow when compiling regular expressions with a repeated fixed string on 32-bit builds. Perlstudychunk in regcompstudy.c checked the size of the joined substring buffer in characters rather than bytes. For a quantified fixed substring with a large minimum count, the byte length mincount * l could overflow SSizet, producing an undersized SvGROW allocation; the subsequent copy writes past the end of the buffer. A caller that compiles an attacker-controlled regular expression on a 32-bit perl build triggers a heap buffer overflow at compile time.
{
"availability": "No subscription required",
"binaries": [
{
"binary_version": "5.34.0-3ubuntu1.7",
"binary_name": "libperl5.34"
},
{
"binary_name": "perl",
"binary_version": "5.34.0-3ubuntu1.7"
},
{
"binary_name": "perl-base",
"binary_version": "5.34.0-3ubuntu1.7"
},
{
"binary_name": "perl-debug",
"binary_version": "5.34.0-3ubuntu1.7"
},
{
"binary_name": "perl-modules-5.34",
"binary_version": "5.34.0-3ubuntu1.7"
}
]
}{
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libperl5.38t64",
"binary_version": "5.38.2-3.2ubuntu0.3"
},
{
"binary_version": "5.38.2-3.2ubuntu0.3",
"binary_name": "perl"
},
{
"binary_name": "perl-base",
"binary_version": "5.38.2-3.2ubuntu0.3"
},
{
"binary_name": "perl-debug",
"binary_version": "5.38.2-3.2ubuntu0.3"
},
{
"binary_name": "perl-modules-5.38",
"binary_version": "5.38.2-3.2ubuntu0.3"
}
]
}{
"binaries": [
{
"binary_name": "libperl5.40",
"binary_version": "5.40.1-6build1"
},
{
"binary_version": "5.40.1-6build1",
"binary_name": "perl"
},
{
"binary_name": "perl-base",
"binary_version": "5.40.1-6build1"
},
{
"binary_name": "perl-debug",
"binary_version": "5.40.1-6build1"
},
{
"binary_name": "perl-modules-5.40",
"binary_version": "5.40.1-6build1"
}
]
}{
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libperl5.40",
"binary_version": "5.40.1-7ubuntu0.1"
},
{
"binary_name": "perl",
"binary_version": "5.40.1-7ubuntu0.1"
},
{
"binary_name": "perl-base",
"binary_version": "5.40.1-7ubuntu0.1"
},
{
"binary_name": "perl-debug",
"binary_version": "5.40.1-7ubuntu0.1"
},
{
"binary_version": "5.40.1-7ubuntu0.1",
"binary_name": "perl-modules-5.40"
}
]
}{
"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+esm7"
},
{
"binary_version": "5.18.2-2ubuntu1.7+esm7",
"binary_name": "libperl5.18"
},
{
"binary_version": "5.18.2-2ubuntu1.7+esm7",
"binary_name": "perl"
},
{
"binary_name": "perl-base",
"binary_version": "5.18.2-2ubuntu1.7+esm7"
},
{
"binary_name": "perl-debug",
"binary_version": "5.18.2-2ubuntu1.7+esm7"
},
{
"binary_name": "perl-modules",
"binary_version": "5.18.2-2ubuntu1.7+esm7"
}
]
}{
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_version": "5.26.1-6ubuntu0.7+esm2",
"binary_name": "libperl5.26"
},
{
"binary_name": "perl",
"binary_version": "5.26.1-6ubuntu0.7+esm2"
},
{
"binary_name": "perl-base",
"binary_version": "5.26.1-6ubuntu0.7+esm2"
},
{
"binary_name": "perl-debug",
"binary_version": "5.26.1-6ubuntu0.7+esm2"
},
{
"binary_name": "perl-modules-5.26",
"binary_version": "5.26.1-6ubuntu0.7+esm2"
}
]
}{
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libperl5.30",
"binary_version": "5.30.0-9ubuntu0.5+esm2"
},
{
"binary_name": "perl",
"binary_version": "5.30.0-9ubuntu0.5+esm2"
},
{
"binary_name": "perl-base",
"binary_version": "5.30.0-9ubuntu0.5+esm2"
},
{
"binary_version": "5.30.0-9ubuntu0.5+esm2",
"binary_name": "perl-debug"
},
{
"binary_version": "5.30.0-9ubuntu0.5+esm2",
"binary_name": "perl-modules-5.30"
}
]
}