CVE-2026-129892
Code Injection in IO::Socket::SSL::PublicSuffix for Perl
Critical 9.8 No auth needed
Follow: this CVE We alert you by email or Slack (account required).
- Priority
- 77
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Nov 18, 2026
- Updated
- Nov 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
IO::Socket::SSL::PublicSuffix versions through 2.099 allows code injection when the update_self_from_url function rewrites the module's source code. An attacker controlling the fetched list (via the cleartext default URL or a caller-supplied one) can inject lines that close the heredoc data block, enabling arbitrary Perl code execution in every process loading IO::Socket::SSL until the module is reinstalled.
Show the original NVD 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.
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
Patch available
Update IO::Socket::SSL::PublicSuffix to version 2.100 or later.
- Check whether you run any of the affected products and follow the vendor advisory.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Official advisories
- perl-IO-Socket-SSL-2.99.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12749-1 · Dec 1, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.