Skip to main content

IO::Socket::SSL EUVDEUVD-2026-128322

| CVE-2026-129892 CRITICAL
Code Injection (CWE-94)
2026-11-18 9b29abf9-4ab0-4765-b253-1875cd9b441e GHSA-8rpw-44r2-h6qx
9.8
CVSS 3.1 · Vendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    MITM cleartext update list (or malicious caller URL)
  2. Delivery
    Inject END_BUILTIN_DATA terminator line
  3. Exploit
    update_self_from_url rewrites module source
  4. Execution
    Appended lines written as executable Perl
  5. Impact
    Arbitrary code runs in every IO::Socket::SSL process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation is NOT possible against a default running service; it requires the maintenance function update_self_from_url to be explicitly invoked. Concrete prerequisites: (1) the attacker must control the fetched public-suffix list content, achievable by man-in-the-middle of the cleartext default URL (http://publicsuffix.org/list/effective_tld_names.dat, changed to HTTPS in the patch) or by a caller passing an attacker-controlled URL; (2) the line validation only strips text after '//' and does not reject a bare 'END_BUILTIN_DATA' line, which closes the built-in data heredoc so subsequent lines are written as Perl; and (3) the updater process must have write access to the installed PublicSuffix.pm file (typically root/administrator). Limiting factors that reduce realistic risk: update_self_from_url is not part of normal runtime and must be deliberately run, the write-access requirement implies a privileged context, and the MITM path depends on the still-cleartext default URL or a user-supplied URL. Payoff once triggered is broad: arbitrary Perl executes in every process that loads IO::Socket::SSL (which loads this module unconditionally) until the module is reinstalled.

Impact

The input CVSS 9.8 (AV:N/AC:L/PR:N/UI:N) overstates the real-world risk because it does not capture the operational prerequisites in the description. Actual exploitation requires three conditions to coincide: an operator must explicitly invoke update_self_from_url (not a runtime code path), that updater must run with write access to the installed module file (typically root/admin), and the attacker must control the fetched list - either by MITM of the cleartext default URL (the pre-patch default was http://publicsuffix.org/...) or via a caller-supplied malicious URL. These conditions directly contradict the AC:L/UI:N/PR:N in the supplied vector, so the raw score should be treated with caution - verify severity against mechanism. Signals conflict: EPSS is low (0.23%, 14th percentile) and SSVC exploitation status is 'none' with no CISA KEV listing and no referenced exploit code, indicating no observed or widespread exploitation; yet SSVC marks it Automatable=yes with Technical Impact=total, and the vuln.today Decision label is act_now, driven by the code-injection class and total impact rather than by evidence of active exploitation. Net assessment: a serious code-injection flaw in a very widely deployed Perl TLS library, but gated behind a non-default maintenance action and a privileged write context, making opportunistic mass exploitation unlikely despite the high CVSS.

Exploit ScenarioDerived

An administrator runs IO::Socket::SSL::PublicSuffix::update_self_from_url to refresh the public-suffix list; because the default URL is cleartext HTTP, a network man-in-the-middle substitutes the list and inserts a line reading END_BUILTIN_DATA followed by Perl statements. The rewrite appends that line verbatim, prematurely closing the heredoc, so every following fetched line is written as Perl and then executes in every process that loads IO::Socket::SSL until the module is reinstalled. No public exploit code is referenced, though the oss-security advisory and patch diff describe the mechanism precisely.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Perl code injection in the IO::Socket::SSL::PublicSuffix module (CPAN distribution IO-Socket-SSL, versions through 2.099) allows an attacker who controls the fetched public-suffix list to break out of the built-in data heredoc during update_self_from_url and have the remaining fetched lines written into PublicSuffix.pm as executable Perl, so arbitrary code runs in every process that loads IO::Socket::SSL until the module is reinstalled. Exploitation is not possible against a default running service: the maintenance function must be deliberately invoked, the fetched list must be attacker-influenced (via man-in-the-middle of the cleartext default URL http://publicsuffix.org/list/effective_tld_names.dat or a caller-supplied URL), and the updater must have write access to the installed module file, which is why our assessed vector is CVSS:3.1/AV:N/AC:H/PR:N/UI:R (not the published 9.8 AV:N/AC:L/PR:N/UI:N) - unauthenticated in principle, but requiring user interaction and a privileged update context. There is no KEV listing and no public exploit identified at time of analysis; EPSS is 0.23% (14th percentile), while SSVC rates exploitation as none, automatable as yes and technical impact as total, and the vuln.today decision label is act_now given the severity of the payoff once the prerequisites are met.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed in the supplied data. Commit 6e756466cd7005bcdb2e0e18eb140f33a2355c78 (https://github.com/noxxi/p5-io-socket-ssl/commit/6e756466cd7005bcdb2e0e18eb140f33a2355c78.patch) rejects any fetched line beginning with END_BUILTIN_DATA and moves the default list URL to HTTPS, so upgrade to the first IO-Socket-SSL release that contains this commit once it is published, or apply the commit as a distribution patch to system-packaged copies. Until then, the decisive control is to not invoke update_self_from_url at all - the function is maintenance-only and is not reached by normal TLS use, so removing it from any scripted job eliminates exposure, at the cost of manually refreshing the embedded suffix list when it goes stale. If the updater must be run, pass an explicit HTTPS URL under your own control and verify the downloaded list before it is appended (specifically checking for any line equal to END_BUILTIN_DATA), and run it in a context that does not have write access to the installed PublicSuffix.pm - for example, generate the list offline and copy it in afterwards, which adds a manual step but keeps the privileged write out of the network-facing path. Any host where the updater has already run against an untrusted list should be treated as compromised: reinstall IO::Socket::SSL from a trusted source to restore a clean PublicSuffix.pm, since the injected code persists until the file is replaced.

Affected ProductsAI

IO::Socket::SSL::PublicSuffix as distributed in the CPAN release IO-Socket-SSL by SULLR, all versions through 2.099 (the version shown in the metacpan source link https://metacpan.org/release/SULLR/IO-Socket-SSL-2.099/source/lib/IO/Socket/SSL/PublicSuffix.pm). Because IO::Socket::SSL loads PublicSuffix.pm unconditionally, any installation of the parent distribution in that version range carries the vulnerable updater, including vendored or system-packaged copies of IO::Socket::SSL; no CPE identifiers were supplied in the available data, so scoping must be done by package version rather than by CPE matching. The upstream fix is the commit https://github.com/noxxi/p5-io-socket-ssl/commit/6e756466cd7005bcdb2e0e18eb140f33a2355c78.patch, and an oss-security advisory thread is available at https://seclists.org/oss-sec/2026/q4/759.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

IO::Socket::SSL::PublicSuffix ships an embedded copy of the Public Suffix List inside a Perl heredoc terminated by END_BUILTIN_DATA, and its update_self_from_url routine performs an in-place self-rewrite: it copies the module's own source up to that heredoc and appends each line of the downloaded list beneath it. The only sanitisation (CWE-94, code injection) removes a trailing '//' comment and whitespace and skips obviously comment lines; nothing validates that a line is actually a domain name. A fetched line reading exactly END_BUILTIN_DATA is therefore appended verbatim and closes the data block in the rewritten file, so everything after it is parsed as Perl - unbounded code execution with the privileges of the module's loader, and persistent until the file is reinstalled. The upstream fix commit 6e756466cd7005bcdb2e0e18eb140f33a2355c78 adds an explicit die when a fetched line matches ^END_BUILTIN_DATA and switches the built-in default URL from plain HTTP to HTTPS, which removes the man-in-the-middle path to list control for users of the default URL; code loaded from an attacker-supplied URL remains gated only by the new END_BUILTIN_DATA rejection and by whatever the caller validates. The trigger in deployment terms: normal TLS connections via IO::Socket::SSL never call the updater, so a default service is not exposed; exposure exists only where an operator or scripted maintenance job runs update_self_from_url with write permission on the installed PublicSuffix.pm, which typically means root.

Know when Perl gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

AC:H because the attacker must MITM the cleartext update, and UI:R because a privileged operator must run update_self_from_url; successful injection yields full code execution, hence C/I/A:H.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e).

CVSS VectorVendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Nov 18, 2026 - 18:37 NVD
9.8 (None) 9.8 (CRITICAL)
CVE Published
Nov 18, 2026 - 00:18 cve.org
CRITICAL 9.8
CVE Published
Nov 18, 2026 - 00:18 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A critical code injection vulnerability in the Perl IO::Socket::SSL::PublicSuffix module (CVE-2026-129892) could allow an attacker to execute arbitrary code within any Perl process that loads the affected library, potentially compromising internal systems and data. While exploitation requires deliberate invocation of a maintenance function and user interaction, the broad deployment of this module in Perl-based applications means many internal services are exposed, and leadership should act to prevent potential service disruption or data loss.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include avoiding the deliberate invocation of update_self_from_url, restricting outbound HTTP access to publicsuffix.org, enforcing HTTPS with certificate validation for any list fetches, and monitoring file integrity of PublicSuffix.pm.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
High
de facto TLS library for Perl, loaded by most Perl HTTPS clients
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Related Vulnerabilities in IO::Socket::SSL::PublicSuffix Code Injection Flaws

View all 2

More in Perl

View all
CVE-2012-6329 HIGH POC
7.5 Jan 04

The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand

CVE-2017-12814 CRITICAL POC
9.8 Sep 28

Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before

CVE-2015-8608 CRITICAL POC
9.8 Feb 07

The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of

CVE-2018-18314 CRITICAL POC
9.8 Dec 07

Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated

CVE-2018-18312 CRITICAL POC
9.8 Dec 05

Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid

CVE-2026-13221 CRITICAL POC
9.1 Jul 13

Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a

CVE-2018-18313 CRITICAL POC
9.1 Dec 07

Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa

CVE-2016-2381 HIGH
7.5 Apr 08

Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e

CVE-2023-31484 HIGH POC
8.1 Apr 29

CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS

CVE-2016-6185 HIGH POC
7.8 Aug 02

The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig

CVE-2018-12015 HIGH POC
7.5 Jun 07

In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha

CVE-2020-10543 HIGH
8.2 Jun 05

Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy