CVE-2026-129892IO::Socket::SSL::PublicSuffix versions through 2.099 for Perl allow code injection via a…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libio-socket-ssl-perl | Fix pending | UBUNTU-CVE-2026-129892 | |
| Ubuntu 26.04 | libio-socket-ssl-perl | Under investigation | UBUNTU-CVE-2026-129892 | |
| Ubuntu 24.04 | libio-socket-ssl-perl | Under investigation | UBUNTU-CVE-2026-129892 | |
| Ubuntu 22.04 | libio-socket-ssl-perl | Under investigation | UBUNTU-CVE-2026-129892 | |
| Ubuntu 20.04 | libio-socket-ssl-perl | Fix pending | UBUNTU-CVE-2026-129892 | |
| Ubuntu 18.04 | libio-socket-ssl-perl | Fix pending | UBUNTU-CVE-2026-129892 | |
| Ubuntu 16.04 | libio-socket-ssl-perl | Fix pending | UBUNTU-CVE-2026-129892 | |
| Ubuntu 14.04 | libio-socket-ssl-perl | Fix pending | UBUNTU-CVE-2026-129892 | |
| Debian 14 | libio-socket-ssl-perl | Fixed | 2.099-2 | DEBIAN-CVE-2026-129892 |
| Debian 13 | libio-socket-ssl-perl | Fix pending | DEBIAN-CVE-2026-129892 | |
| Debian 12 | libio-socket-ssl-perl | Fix pending | DEBIAN-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.
- IO-Socket-SSL: affected: up to 2.099
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
- https://metacpan.org/release/SULLR/IO-Socket-SSL-2.099/source/lib/IO/Socket/SSL/PublicSuffix.pm
- https://github.com/noxxi/p5-io-socket-ssl/commit/6e756466cd7005bcdb2e0e18eb140f33a2355c78.patch
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.