CVEfocus › CVE database › CVE-2026-129892

CVE-2026-129892IO::Socket::SSL::PublicSuffix versions through 2.099 for Perl allow code injection via a…

CVSS 9.8 CriticalEPSS 0.6% (higher than 43% of CVEs)Published 2026-11-17Updated 2026-11-18Assigner: CPANSec

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.

CWE-94

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
7Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libio-socket-ssl-perlFix pendingUBUNTU-CVE-2026-129892
Ubuntu 26.04libio-socket-ssl-perlUnder investigationUBUNTU-CVE-2026-129892
Ubuntu 24.04libio-socket-ssl-perlUnder investigationUBUNTU-CVE-2026-129892
Ubuntu 22.04libio-socket-ssl-perlUnder investigationUBUNTU-CVE-2026-129892
Ubuntu 20.04libio-socket-ssl-perlFix pendingUBUNTU-CVE-2026-129892
Ubuntu 18.04libio-socket-ssl-perlFix pendingUBUNTU-CVE-2026-129892
Ubuntu 16.04libio-socket-ssl-perlFix pendingUBUNTU-CVE-2026-129892
Ubuntu 14.04libio-socket-ssl-perlFix pendingUBUNTU-CVE-2026-129892
Debian 14libio-socket-ssl-perlFixed2.099-2DEBIAN-CVE-2026-129892
Debian 13libio-socket-ssl-perlFix pendingDEBIAN-CVE-2026-129892
Debian 12libio-socket-ssl-perlFix pendingDEBIAN-CVE-2026-129892

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to a future IO-Socket-SSL release, or apply the upstream patch.

Workaround: Until a fixed release is available, do not run update_self_from_url.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.