Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-129892 EUVD-2026-128322GHSA-8rpw-44r2-h6qx

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

Published Nov 17, 2026 · Updated Nov 18, 2026 · Assigned by CPANSec

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

VendorProductAffectedFixed
— 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.

ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-IO-Socket-SSL 2.99.0-1.1 openSUSE-SU-2026:12749-1
ReleasePackageFixed inAdvisory
Alpine v3.25 perl-io-socket-ssl 2.093-r2 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 perl-IO-Socket-SSL No fix yet —

Advisories 1

References