Skip to main content

Net::Statsd CVE-2026-46739

| EUVDEUVD-2026-34295 MEDIUM
Improper Neutralization of CRLF Sequences ('CRLF Injection') (CWE-93)
2026-06-04 CPANSec GHSA-wjp4-mf92-6wh6
5.3
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Supply crafted string containing newline or pipe character
  2. Delivery
    Input accepted by application without sanitization
  3. Exploit
    Passed as metric name or value to Net::Statsd method
  4. Install
    Library formats raw string into UDP datagram without validation
  5. C2
    Injected delimiter creates forged metric line in packet
  6. Execute
    StatsD daemon processes attacker-controlled metric
  7. Impact
    Monitoring integrity corrupted

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
Exploitation Conditions

Exploitation requires that attacker-controlled data reaches a Net::Statsd method call (timing, increment, decrement, update_stats, gauge, or send) as a metric name or value argument without prior sanitization in application code. The injected payload must contain at least one of: a newline or other control character below ASCII 32, a colon (':'), or a pipe ('|'). For update_stats and gauge specifically, a non-numeric string value is also sufficient. Exploitation is limited to: (1) deployments running Net::Statsd versions before 0.13, (2) applications that accept external or user-supplied input, and (3) code paths where that input flows into Net::Statsd method arguments. Applications that derive metric names solely from internal static strings or validated enumerations are not exploitable regardless of CVSS network vector. No authentication bypass, special platform, or non-default configuration is required beyond the above data-flow condition.

Impact

The CVSS 5.3 Medium score (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N) accurately reflects the bounded nature of this vulnerability: exploitation is network-accessible with no authentication or user interaction required, but the impact is confined to integrity of monitoring data with no confidentiality or availability consequence. No EPSS score was included in the provided input, so exploitation probability cannot be numerically quantified. This CVE is not present in CISA KEV, and no standalone public exploit code has been identified beyond the fix PR diff, which is constructible into a proof-of-concept but has not been weaponized. Real-world risk is highest for organizations whose StatsD-instrumented applications accept external user input (e.g., user-supplied labels, event names, API parameters) that is used directly in metric naming without sanitization; in such environments, forged metrics could corrupt alerting thresholds, auto-scaling triggers, or business dashboards. Applications that construct metric names exclusively from static, internal strings face negligible exploitability regardless of the CVSS network vector.

Exploit ScenarioDerived

An attacker submits a web request or API call containing a metric name payload such as 'legit.counter malicious.counter:999|c' to an application that passes user-supplied identifiers directly to Net::Statsd::increment or Net::Statsd::gauge. The library formats the string into the UDP packet without validation, causing the StatsD daemon to process both the intended metric and the attacker-forged metric line. No public exploit code exists; the attack is fully constructible from the protocol description in the PR diff.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 04, 2026

Metric injection in Net::Statsd for Perl (all versions before 0.13) allows network-reachable, unauthenticated attackers to forge additional StatsD metric lines by embedding newlines, colons, or pipes in metric names or values passed through the library. Any application that feeds untrusted external input into Net::Statsd method calls without prior sanitization is directly exposed, because the wire format uses those characters as delimiters between metrics in a single UDP datagram. No public exploit code exists and this vulnerability is not listed in CISA KEV; however, the CVSS AV:N/AC:L/PR:N/UI:N surface warrants prompt patching wherever user-controlled strings reach metric instrumentation calls.

RemediationAI

Upgrade Net::Statsd to version 0.13 or later using 'cpanm Net::Statsd' or 'cpan Net::Statsd'; version 0.13 is confirmed as the fix release in the upstream Changes file and PR at https://github.com/cosimo/perl5-net-statsd/pull/10. If an immediate upgrade cannot be performed, apply compensating controls at the application layer: explicitly validate or reject any metric name string containing newlines, colons, or pipe characters before passing it to any Net::Statsd method, and ensure values passed to update_stats and gauge are verified numeric (e.g., via Scalar::Util::looks_like_number). Note that application-layer sanitization introduces maintenance risk - it must cover every call site - and the definitive fix is upgrading to 0.13 where validation is enforced centrally within the library. Refer to https://seclists.org/oss-sec/2026/q2/811 for the full disclosure context.

Affected VersionsENISA

Net::Statsd 0 <0.13

Affected Packages

euvd net_statsd fix: 0.13

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Net::Statsd (CPE: cpe:2.3:a:cosimo:net::statsd:*:*:*:*:*:*:*:*) is a Perl CPAN module for shipping application telemetry to a StatsD daemon over UDP. The StatsD wire format encodes each metric as 'name:value|type', and multiple metrics are packed into a single UDP datagram separated by newline characters. The root cause is CWE-93 (Improper Neutralization of CRLF Sequences): prior to version 0.13, the timing, update_stats, gauge, increment, decrement, and direct send methods accepted metric names and values without checking for newlines (or any control character below ASCII 32), colons, or pipes. The update_stats and gauge methods additionally did not enforce numeric-only values, allowing string payloads containing the delimiter characters. Version 0.13 introduces internal _validate_metric_name and _validate_metric_value functions that call Carp::croak on forbidden characters; name validation is centralized in send() to catch all call paths, while value validation is applied at each individual entry-point method before the |type suffix is appended.

Know when Net 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 (CPANSec) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Primary rating from Vendor (CPANSec) · only source for this CVE.

CVSS VectorVendor: CPANSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

3
CVSS changed
Jun 04, 2026 - 19:22 NVD
5.3 (MEDIUM)
Patch available
Jun 04, 2026 - 18:01 EUVD
CVE Published
Jun 04, 2026 - 15:45 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

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

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

More in Net

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2026-111497 CRITICAL POC
9.2 Oct 21

Remote code execution is possible in Node.js releases that bundle a vulnerable Brotli decoder: a malformed brotli-compre

CVE-2023-38180 HIGH
7.5 Aug 08

.NET and Visual Studio Denial of Service Vulnerability. Rated high severity (CVSS 7.5), this vulnerability is remotely e

CVE-2026-69439 HIGH POC
8.8 Sep 08

Heap-based buffer overflow (CWE-122) in Microsoft .NET and Visual Studio allows a network-based unauthenticated attacker

CVE-2026-71328 HIGH POC
8.8 Sep 08

Heap-based buffer overflow in Microsoft Visual Studio 2022 and 2026 enables network-delivered remote code execution when

CVE-2026-62886 HIGH POC
7.8 Aug 11

Privilege escalation in Microsoft .NET runtimes (8.0, 9.0, and 10.0) and Microsoft Visual Studio 2022 and 2026 results f

CVE-2026-62871 HIGH POC
7.8 Aug 11

Heap-based buffer overflow (CWE-122) in Microsoft .NET enables local code execution across all actively supported .NET r

CVE-2026-70354 HIGH POC
7.8 Aug 11

Local code execution via out-of-bounds write in Microsoft .NET allows an unauthenticated local attacker to achieve full

CVE-2026-62909 HIGH POC
7.8 Aug 11

Local privilege escalation in Microsoft .NET (versions 8.0, 9.0, and 10.0) and Microsoft Visual Studio 2022/2026 allows

CVE-2026-62901 HIGH POC
7.5 Aug 11

Denial-of-service in Microsoft .NET runtimes and Visual Studio allows unauthenticated remote attackers to crash or hang

CVE-2023-36049 CRITICAL
9.8 Nov 14

.NET, .NET Framework, and Visual Studio Elevation of Privilege Vulnerability. Rated critical severity (CVSS 9.8), this v

CVE-2026-62897 HIGH POC
7.0 Aug 11

Integer overflow in Microsoft .NET Framework and modern .NET runtimes enables local code execution with full process com

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy