CVE-2026-46739: Net::Statsd versions before 0.13 for Perl allow metric injections Robert Rothenberg 04 Jun 2026 15:46 UTC

========================================================================
CVE-2026-46739                                       CPAN Security Group
========================================================================

         CVE ID:  CVE-2026-46739
   Distribution:  Net-Statsd
       Versions:  before 0.13

       MetaCPAN:  https://metacpan.org/dist/Net-Statsd
       VCS Repo:  https://github.com/cosimo/perl5-net-statsd

Net::Statsd versions before 0.13 for Perl allow metric injections

Description
-----------
Net::Statsd versions before 0.13 for Perl allow metric injections.

The metric names are not checked for newlines, colons or pipes. Metrics
generated from untrusted sources could inject additional statsd
metrics.

The update_stats (used for updating counters) and gauge methods do not
check that values are numeric (which would block metric injection).

Problem types
-------------
- CWE-93 Improper Neutralization of CRLF Sequences

Workarounds
-----------
Apply the linked pull request.

Otherwise ensure only trusted data is submitted to metrics.

Solutions
---------
Upgrade to version 0.13 or later.

References
----------
https://github.com/cosimo/perl5-net-statsd/pull/10
https://www.cve.org/CVERecord?id=CVE-2026-46719
https://www.cve.org/CVERecord?id=CVE-2026-46720