CVE-2026-129892

9.8Critical

Published 18 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

9.8CVSS

Critical

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-94

What an attacker gets

Remote attackers can execute arbitrary Perl code in any process that loads IO::Socket::SSL. This requires the attacker to control the public suffix list URL and the application must have write access to the module file.

Root cause

The update_self_from_url function fails to sanitize fetched list lines, allowing an attacker to inject an END_BUILTIN_DATA string that prematurely closes the data heredoc and executes subsequent lines as Perl code.

Affected versions

IO::Socket::SSL::PublicSuffix versions through 2.099

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade to IO::Socket::SSL version 2.100 or later. Disable the automatic update feature by ensuring the update_self_from_url method is not called in your application code.

remediation — bash
$ cpan IO::Socket::SSL

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-129892