CVE-2026-129892: 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
Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-17
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.
Enclave's analysis
IO::Socket::SSL::PublicSuffix (through 2.099) lets an attacker inject Perl into the module's own file when update_self_from_url fetches a public-suffix list. A fetched line ending in END_BUILTIN_DATA closes the module's data block early, turning every line after it into live code that every process loading IO::Socket::SSL then executes. Pulling this off needs control of that fetch (on-path against the cleartext default URL, or a trusted caller-supplied URL) plus someone with write access manually running the updater. No PoC or active exploitation has shown up yet — avoid running update_self_from_url until a fixed release ships.
Fix
No fixed version in the CVE record yet. Follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| Affected product | 0 through 2.099 | Not listed |
| IO-Socket-SSL (IO::Socket::SSL::PublicSuffix module) | <= 2.099 | Not listed |