Description
IO::Socket::SSL::PublicSuffix versions through 2.099 for Perl allow code injection via a fetched list line that closes the built-in data heredoc when update_self_from_url rewrites the module's source.
The rewrite copies the module's source down to the built-in list's heredoc and appends each fetched line below it. Nothing checks that a line looks like a domain. A line that is not a comment loses only what follows a `//` and its trailing whitespace, so a line reading END_BUILTIN_DATA is appended as it stands and ends the data block in the rewritten file. Every fetched line after it is Perl.
Arbitrary Perl runs in every process that loads IO::Socket::SSL, which loads this module unconditionally, until the file is reinstalled. The attacker must control the fetched list, through the cleartext default URL or a caller-supplied one, and the updater must run with write access to the installed module.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | IO-Socket-SSL | ≤ 2.099 | — |
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 | libio-socket-ssl-perl | 2.099-2 | — |
| Debian 13 | libio-socket-ssl-perl | No fix yet | — |
| Debian 12 | libio-socket-ssl-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libio-socket-ssl-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libio-socket-ssl-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libio-socket-ssl-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libio-socket-ssl-perl | No fix yet | — |
| Ubuntu 20.04 LTS | libio-socket-ssl-perl | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libio-socket-ssl-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libio-socket-ssl-perl | No fix yet | — |
| Ubuntu 14.04 LTS | libio-socket-ssl-perl | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-IO-Socket-SSL | 2.99.0-1.1 | openSUSE-SU-2026:12749-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.25 | perl-io-socket-ssl | 2.093-r2 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | perl-IO-Socket-SSL | No fix yet | — |
Advisories 1
- openSUSE-SU-2026:12749-1 perl-IO-Socket-SSL-2.99.0-1.1 on GA media SUSE / openSUSE Security Updates · Dec 2, 2026