Critical · 9.8 Microsoft CVE-2026-129892
Critical Code Injection Vulnerability in IO::Socket::SSL::PublicSuffix for Perl (CVE-2026-129892)
A critical vulnerability in IO::Socket::SSL::PublicSuffix for Perl allows arbitrary code execution when the module's self-update function processes an attacker-controlled public suffix list, letting malicious data overwrite and inject Perl code into the module's own source file.
By PatchBriefing · ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A critical vulnerability has been identified in IO::Socket::SSL::PublicSuffix, a Perl module used alongside IO::Socket::SSL. The flaw, tracked as CVE-2026-129892, allows an attacker to inject arbitrary Perl code into the module's own source file by supplying a malicious public suffix list during a self-update operation. Because IO::Socket::SSL loads this module unconditionally, the injected code can run in every process that uses it, until the affected file is reinstalled.
What happened
IO::Socket::SSL::PublicSuffix includes a function, update_self_from_url, that fetches a public suffix list and rewrites the module's own source file with the updated data. The rewrite process copies the existing source code down to a built-in data block (a Perl heredoc) and then appends each line fetched from the list below it. The code does not verify that fetched lines actually look like domain names. A non-comment line only has anything after a double slash (//) and trailing whitespace stripped before being appended as-is.
Technical cause
The vulnerability is rooted in insufficient input validation (CWE-94, code injection). If a fetched line matches the literal text used to mark the end of the built-in data heredoc, that line is appended unchanged and prematurely closes the data block in the rewritten module file. Every line fetched after that point is no longer treated as data — it is interpreted as executable Perl code. Since the rewritten file replaces the installed module, this injected code becomes part of the module itself.
Why it matters
IO::Socket::SSL is a widely loaded Perl module, and it loads IO::Socket::SSL::PublicSuffix unconditionally. Once the module's source file has been rewritten with injected code, that code executes in every process that subsequently loads IO::Socket::SSL, until the file is reinstalled with clean data. This gives an attacker who controls the fetched list a path to arbitrary code execution across multiple processes on an affected system, without requiring authentication or user interaction.
Who is affected
Systems are at risk if update_self_from_url is actually invoked with write access to the installed module file, and if the attacker can control the fetched public suffix list — either through the module's cleartext default URL or through a caller-supplied URL. One affected package has been identified: azl3 perl-IO-Socket-SSL 2.084-2 on Azure Linux 3.0.
Affected versions
The advisory states that versions of IO::Socket::SSL::PublicSuffix through 2.099 are affected. No specific fixed version has been disclosed in the available information, and no exact starting version for the affected range is specified.
Fixes and mitigation
No fix is currently available according to the facts provided. A patch month of November 2026 has been associated with this advisory, but this does not confirm that a corrected version has been released or that the fix addresses all deployment scenarios. Organizations should treat this as unresolved until an official fixed version is confirmed.
Recommended action
Until a fix is confirmed, avoid running update_self_from_url with write access to the installed module in environments where the source of the public suffix list cannot be fully trusted, particularly when using the default cleartext URL or any caller-supplied URL. Restrict write permissions on the module's installation path to reduce the impact of a successful injection. Monitor vendor channels for a corrected release and apply it as soon as it becomes available. Review systems running the affected package (azl3 perl-IO-Socket-SSL 2.084-2 on Azure Linux 3.0) for exposure to this update mechanism.
PatchBriefing score
9.8 / 10 · Critical
Official CVSS: 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U
EPSS 0.0060 (43 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
Reported fixes
No fix is currently available according to the facts provided. A patch month of November 2026 has been associated with this advisory, but this does not confirm that a corrected version has been released or that the fix addresses all deployment scenarios. Organizations should treat this as unresolved until an official fixed version is confirmed.
How this was built
3 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
CVE.org database
-
Microsoft Security Update Guide vendor
Revision history
- Published
- Generated
- Published
- Early Warning