Description
ExtUtils::Typemaps::STL::Vector versions before 1.05 for Perl allocate a 32 GiB array on an empty list.
The OUTPUT typemaps call av_extend( av, len-1 ). On an empty list, this undeflows, and av_extend will allocate an array with 2^32 slots, leading to memory exhaustion.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | ExtUtils-Typemaps-Default | < 1.05 | 1.05 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libextutils-typemaps-default-perl | 1.05-1 | — |
| Debian 13 | libextutils-typemaps-default-perl | 1.05-1 | — |
| Debian 12 | libextutils-typemaps-default-perl | 1.05-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libextutils-typemaps-default-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libextutils-typemaps-default-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libextutils-typemaps-default-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libextutils-typemaps-default-perl | No fix yet | — |
| Ubuntu 20.04 LTS | libextutils-typemaps-default-perl | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libextutils-typemaps-default-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libextutils-typemaps-default-perl | No fix yet | — |