Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.8

CVE-2026-129892: IO::Socket::SSL Perl module may execute attacker code

CVE-2026-129892 · published 15 days ago
Summary

The Perl packages named io-socket-ssl from Debian, Canonical and BellSoft can be tricked into downloading a malicious list and then rewriting its own code, which lets an attacker run any command on the server. This happens when the automatic updater writes to the module file and the attacker controls the list source. Update to a fixed version or disable the automatic update feature and restrict write access to the module files to protect your systems.

What to do
  • Update debian libio-socket-ssl-perl to version 2.099-2.
Affected software
Ecosystem VendorProductAffected versions
Debian:12 debian libio-socket-ssl-perl All versions
Ubuntu:14.04:LTS canonical libio-socket-ssl-perl All versions
Alpaquita:23 bellsoft perl-io-socket-ssl >= 2.077-r0
Alpaquita:25 bellsoft perl-io-socket-ssl >= 2.089-r0
Debian:14 debian libio-socket-ssl-perl < 2.099-2
Fix: upgrade to 2.099-2
Original advisory text
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
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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
9.8 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-94Code Injection
Timeline
Published17 Nov 2026
Updated2 Dec 2026
First seen18 Nov 2026
Track software like this
Free during beta