Skip to main content

IO::Socket::SSL CVE-2026-129891

| EUVDEUVD-2026-128321 HIGH
Download of Code Without Integrity Check (CWE-494)
2026-11-18 9b29abf9-4ab0-4765-b253-1875cd9b441e GHSA-h35q-jg3c-gqw2
7.5
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
    Gain on-path position during updater run
  2. Delivery
    Intercept cleartext HTTP suffix-list fetch
  3. Exploit
    Return tampered public suffix list
  4. Execution
    Module writes list into its own source file
  5. Persist
    Weakened hostname check accepts overbroad wildcard cert
  6. Impact
    Intercept victim TLS-protected connections

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Code integrity verification
Exploitation Conditions

Two conditions must hold together: (1) the host must actually invoke IO::Socket::SSL::PublicSuffix::update_self_from_url - an optional, operator-run maintenance action, since the module ships with and operates on a built-in list and never fetches over the network by default; and (2) the attacker must hold an active on-path/MITM position during that single cleartext HTTP fetch to publicsuffix.org, because the updater verifies only that the request succeeded and applies no signature or digest. Limiting factors that reduce realistic risk below the raw 7.5: this is not a default or automatic code path, the window is tied to a discrete operator action rather than continuous exposure, and the attacker must already control the network path at that moment. The effect is durable - the tampered list is written into the installed module file and persists until the module is reinstalled or re-updated.

Impact

Signals point to a real but narrow, conditional issue rather than a broad emergency. The supplied CVSS 7.5 (AV:N/AC:L/PR:N/UI:N/C:H/I:N/A:N) reads as a straightforward network, no-interaction flaw, but that score understates the real trigger: exploitation requires both an active on-path/MITM position AND that the host actually runs update_self_from_url, an optional, manually-invoked maintenance operation (the module ships with and uses a built-in list, and never fetches it automatically). The low-level signals agree it is not widespread: EPSS is 0.09% (1st percentile), SSVC Exploitation is 'none', and there is no KEV listing and no confirmed public exploit. There is a notable internal tension: SSVC marks Automatable:yes, yet the precondition that an operator must run the updater while the attacker already controls the network path makes true opportunistic mass-automation difficult - automation applies only once a target is known to be running the updater over an attacker-controlled path. The vuln.today 'this_week' label reflects a moderate priority consistent with these signals, not an act_now/emergency posture. One metric conflict to verify: the input vector rates C:H/I:N, but the mechanism is CWE-494 tampering with downloaded data written into the module source, which is fundamentally an integrity compromise (and only then a downstream confidentiality exposure via weakened TLS hostname checks) - treat the impact weighting as debatable and verify with the vendor advisory.

Exploit ScenarioDerived

While an administrator runs IO::Socket::SSL::PublicSuffix's update_self_from_url, an attacker who can intercept traffic on the network path answers the cleartext http:// fetch to publicsuffix.org with a doctored suffix list; because only HTTP success is checked and no signature or digest is verified, the tampered lines are written into the module's own source file and persist. By dropping a single rule, the attacker makes IO::Socket::SSL's hostname check later accept a wildcard certificate spanning an entire public suffix. No public exploit code is identified at time of analysis, though the fix commit and an oss-security advisory are public.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 18, 2026

The PublicSuffix.pm component of Perl's IO::Socket::SSL (versions through 2.099) fetches its public suffix list from a cleartext http://publicsuffix.org URL and writes the returned lines directly into the module's own source file, checking only that the request succeeded and applying no signature or digest. An on-path attacker who is positioned during an operator-invoked run of update_self_from_url can therefore substitute the suffix data, and because the tampering persists in the installed module until reinstall or re-update, the module will subsequently report attacker-chosen suffix boundaries to every caller on the host - including a dropped rule that makes IO::Socket::SSL's hostname check accept a wildcard certificate spanning an entire public suffix. Exploitation is conditional rather than default: the updater is an optional maintenance action (not an automatic code path), the attacker must hold a MITM position during that single cleartext fetch, and the assessed vector (CVSS:3.1/AV:N/AC:H/PR:N/UI:R, C:H/I:H) is lower than the published 7.5; EPSS is 0.09% (1st percentile), there is no CISA KEV entry, and no public exploit identified at time of analysis.

RemediationAI

Apply the upstream fix (commit 6e756466cd7005bcdb2e0e18eb140f33a2355c78, https://github.com/noxxi/p5-io-socket-ssl/commit/6e756466cd7005bcdb2e0e18eb140f33a2355c78.patch), which moves the updater to https://publicsuffix.org and adds a guard that dies if a fetched line attempts to break out of the END_BUILTIN_DATA section; because the change is delivered as a commit, refresh from CPAN (IO-Socket-SSL newer than 2.099) and confirm the installed PublicSuffix.pm contains the https:// URL constant - no explicitly tagged fixed release version is stated in the available data, so verify against the commit rather than assuming a number. Note that patching or reinstalling also purges any previously tampered list, since the list lives inside the module file. If the updater cannot be replaced immediately, do not run update_self_from_url across an untrusted or unmanaged network path (public Wi-Fi, shared VLAN, or any segment where ARP/DNS spoofing is feasible), and prefer updating the module through the package manager or a CPAN mirror with verified transport; restricting outbound HTTP or forcing the fetch through a controlled proxy reduces, but does not remove, exposure because the updater itself performs no verification. Installing a release that embeds a current list avoids the need to run the updater at all, and after any suspicious update run, treat the host's prior certificate hostname validation as untrusted and reinstall the module.

Affected ProductsAI

IO::Socket::SSL for Perl, versions through 2.099, specifically lib/IO/Socket/SSL/PublicSuffix.pm and its update_self_from_url routine; the 2.099 source distribution is referenced on MetaCPAN (https://metacpan.org/release/SULLR/IO-Socket-SSL-2.099/source/lib/IO/Socket/SSL/PublicSuffix.pm). No CPE identifiers were provided, so exposure should be established by inventorying installed IO-Socket-SSL distributions at or below 2.099 rather than by CPE matching. The upstream fix is commit 6e756466cd7005bcdb2e0e18eb140f33a2355c78 (https://github.com/noxxi/p5-io-socket-ssl/commit/6e756466cd7005bcdb2e0e18eb140f33a2355c78.patch); the advisory thread is at https://seclists.org/oss-sec/2026/q4/759 and the EUVD/NVD record at https://nvd.nist.gov/vuln/detail/CVE-2026-129891. Hosts that only use the shipped built-in list and never run the updater are not exposed to the network-borne tampering path, though they still run the vulnerable code.

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 is a small Perl module that ships an embedded copy of the Public Suffix List inside its own .pm file below an END_BUILTIN_DATA heredoc, and exposes update_self_from_url so operators can refresh that embedded data. The root cause is CWE-494 (Download of Code Without Integrity Check): the URL constant pointed at http://publicsuffix.org/list/effective_tld_names.dat, the updater validated only that the HTTP request succeeded, and the response lines were then rewritten into the module source itself as the new built-in list. No CPE strings were supplied with the report; the affected artefact is the CPAN distribution IO-Socket-SSL through 2.099 (lib/IO/Socket/SSL/PublicSuffix.pm), as visible in the MetaCPAN 2.099 source reference. The upstream commit 6e756466cd7005bcdb2e0e18eb140f33a2355c78.patch makes three changes: it switches the URL constant and its embedded documentation from http:// to https://, it refreshes the embedded snapshot (VERSION 2026-11-16, COMMIT e56d8b1), and it hardens the writer so that a fetched line beginning with END_BUILTIN_DATA aborts the update with 'Attempt to break out of data section' instead of terminating the heredoc early - i.e. the patch addresses both the transport-integrity flaw and the related data-section injection hazard. The security consequence of a tampered list is indirect but serious: IO::Socket::SSL uses the suffix boundary when validating hostnames against certificates, so removing a rule widens the domain scope that a wildcard certificate appears to cover. The trigger mechanics beyond the cleartext fetch and line-write behaviour are not described further in the available sources.

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 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.8 MEDIUM

On-path interception plus an operator-invoked, non-default updater gives AC:H and UI:R; tampered persisted list (I:H) weakens TLS hostname checks enabling interception (C:H), no availability impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/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
None
Availability
None

Lifecycle Timeline

3
CVSS changed
Nov 18, 2026 - 18:37 NVD
7.5 (None) 7.5 (HIGH)
CVE Published
Nov 18, 2026 - 00:18 cve.org
HIGH 7.5
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 let an on-path attacker choose the installed public suffix list because update_self_from_url fetches it over cleartext HTTP with no integrity check.

Called with no argument, as the module's documentation shows, the updater fetches the list from the http:// address in the URL constant and checks only that the request succeeded, with no signature or digest over the response. The lines that come back are written into the module's own source file as the built-in list.

An attacker on the network path when the updater runs chooses the suffix boundary the module reports to every caller on the host, and that answer persists in the installed module until it is reinstalled. Dropping one rule makes the hostname check in IO::Socket::SSL accept a wildcard certificate that spans the whole public suffix that rule named.

Executive ViewAI

Why It Matters

CVE-2026-129891 in Perl's IO::Socket::SSL (versions through 2.099) allows an on-path attacker to tamper with the public suffix list during an optional update, potentially causing the library to accept wildcard certificates spanning an entire public suffix and undermining TLS hostname validation on affected hosts. While exploitation requires a man-in-the-middle position and an operator-initiated update, the persistence of the tampering means all subsequent TLS connections on the host could be misvalidated. This could lead to credential theft, data interception, and trust erosion, affecting any application using IO::Socket::SSL, so leadership should prioritize risk assessment and interim mitigations.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: discontinue use of the update_self_from_url function; manually update the public suffix list from a trusted HTTPS source after verifying its integrity; implement network segmentation to reduce MITM exposure; and enforce application-level hostname verification or certificate pinning where feasible.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
High
de facto standard TLS library bundled across Perl deployments and distros
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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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