sadrobot

← Back to the monthly list

CVE-2026-129892

9.8 Critical

AI summary

IO::Socket::SSL::PublicSuffix for Perl through 2.099 allows code injection because update_self_from_url appends unvalidated fetched list lines into the module source, causing arbitrary Perl to run in every process loading IO::Socket::SSL. The attacker must control the fetched list (e.g. via the cleartext default URL) and the updater must have write access to the module. Critical (CVSS 9.8); avoid running the updater.

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

Published
2026-11-18 00:18 UTC
Modified
2026-11-24 19:10 UTC
CVSS
9.8 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.60% (percentile 43)
ENISA EUVD
EUVD-2026-128322
CISA SSVC
Exploitation: none · Automatable: yes · Technical impact: total
CWE
CWE-94

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Scope
unchanged
Confidentiality
high
Integrity
high
Availability
high

References