Skip to main content

Metrics::Any::Adapter::Statsd CVE-2026-50637

| EUVDEUVD-2026-36104 HIGH
Improper Neutralization of CRLF Sequences ('CRLF Injection') (CWE-93)
2026-06-10 CPANSec GHSA-q83q-ghhm-p7g4
8.2
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

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

  1. Access
    Identify app using vulnerable adapter
  2. Delivery
    Submit input with embedded newline and StatsD delimiters
  3. Exploit
    Application records metric with tainted label
  4. Execution
    Adapter emits multi-metric UDP packet
  5. Persist
    Collector ingests forged metric
  6. Impact
    Dashboards and alerts reflect attacker-chosen values

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 (1) a target Perl application that uses Metrics::Any::Adapter::Statsd at a version below 0.04 as its StatsD adapter, and (2) at least one code path in that application that incorporates attacker-influenced data (such as request parameters, headers, usernames, or tenant identifiers) into either the metric name or a string value passed to the send method without prior sanitization. The injection succeeds only when the resulting UDP datagram reaches a StatsD-compatible collector that parses newline-separated metrics per packet (standard StatsD/DogStatsD behavior). Limiting factors: applications that only emit metrics with static, developer-defined names are not exploitable; environments that send metrics over a non-StatsD adapter are unaffected; and impact is constrained to whichever metric namespace the application is authorized to write, since the attacker cannot reach the collector directly.

Impact

The published CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N (8.2 High) treats the bug as network-exploitable with no privileges, with high integrity impact - but this rating is optimistic for what is essentially a downstream injection sink. In practice the attacker does not directly talk to the StatsD adapter over the network; rather, the attacker must influence a string (e.g. a label, user identifier, request path) that the application then passes into a metric call, so realistic exploitability depends entirely on whether an application using this library feeds attacker-controlled data into metric names or values. The very low EPSS of 0.03% (8th percentile) and the absence of a CISA KEV listing or known public exploit are consistent with a library-level weakness whose impact is bounded by how each consumer wires it up. No public exploit identified at time of analysis. The most concrete real-world risk is integrity of monitoring data - forged metrics can mask incidents, trigger false alerts, or skew dashboards used for capacity and billing decisions - which justifies the I:H rating; confidentiality and availability impact are marginal. Net assessment: a meaningful supply-chain hygiene fix that downstream applications should pick up, but not an urgent emergency for environments where metric inputs are already trusted internal values.

Exploit ScenarioDerived

An attacker submits a crafted input - for example a username, HTTP header, or URL path - to a web application whose request handler increments a StatsD metric labeled with that input via Metrics::Any::Adapter::Statsd 0.03 or earlier. Because the adapter does not sanitize newlines, colons, or pipes, the attacker's payload (e.g. 'alice\nbilling.charges:0|c') causes the resulting UDP packet to carry an additional forged 'billing.charges:0|c' metric, corrupting monitoring dashboards and potentially suppressing alerts. No public proof-of-concept is currently identified.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 11, 2026

Metric injection in the Perl module Metrics::Any::Adapter::Statsd before version 0.04 allows remote attackers to inject arbitrary StatsD metrics by supplying metric names or values containing newlines, colons, or pipes that the send method passes unvalidated into UDP packets. Because the StatsD protocol multiplexes multiple metrics per packet using newline delimiters, an attacker who controls any string flowing into a recorded metric can forge additional metrics, poisoning monitoring data and downstream alerting. EPSS is very low (0.03%), no public exploit is identified at time of analysis, and there is no CISA KEV listing.

RemediationAI

Upgrade the Perl dependency Metrics::Any::Adapter::Statsd to vendor-released patch 0.04 or later from CPAN (https://metacpan.org/release/PEVANS/Metrics-Any-Adapter-Statsd-0.04/changes), which makes _make reject metric names containing characters below ASCII 32, colons, or pipes. Update cpanfile, dist.ini, or Carton/Carmel lockfiles and rebuild any deployed Perl images so the patched module is actually loaded at runtime, and review oss-security threads (seclists.org/oss-sec/2026/q2/878, /879, /880) for vendor context. If an immediate upgrade is not possible, apply a compensating wrapper around metric calls in application code that strips or rejects bytes < 0x20, ':' and '|' from all metric names and string values before they reach the adapter - the trade-off is that label values containing legitimate colons (e.g. IPv6 addresses, time strings) will be mangled or dropped, so prefer the upstream fix where feasible. Additionally, treat any externally influenced data as untrusted on the metric path and avoid using user-controlled identifiers as raw metric names.

Affected VersionsENISA

Metrics::Any::Adapter::Statsd 0 <0.04

Affected Packages

euvd metrics_any_adapter_statsd fix: 0.04

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

The vulnerability resides in the _make method of the Perl distribution Metrics::Any::Adapter::Statsd (CPAN author PEVANS), which serializes metrics into StatsD wire format and emits them as UDP datagrams. The StatsD protocol and its extensions (DogStatsD, etc.) use a line-oriented format where each metric is structured as 'name:value|type' and multiple metrics within a single packet are delimited by '\n'. CWE-93 (Improper Neutralization of CRLF Sequences) captures the root cause: the library accepted untrusted bytes - including ASCII control characters below 0x20 such as newline (0x0A), as well as the protocol-significant colon (0x3A) and pipe (0x7C) - directly into the wire encoding without sanitization. Version 0.04 remediates this in _make by rejecting metric names containing any byte below ASCII 32, colon, or pipe, neutralizing the injection primitive at the encoding boundary.

Know when Metrics 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 8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
vuln.today AI 3.7 LOW

Network-reachable only via a downstream app that passes untrusted strings into metric names (AC:H, PR:N); impact limited to integrity of monitoring data (I:L), no confidentiality or availability effect.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

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

Lifecycle Timeline

3
CVSS changed
Jun 11, 2026 - 20:22 NVD
8.2 (HIGH)
Patch available
Jun 10, 2026 - 21:16 EUVD
CVE Published
Jun 10, 2026 - 18:32 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

Metrics::Any::Adapter::Statsd versions before 0.04 for Perl does not protect against metric injections.

The statsd protocol (and extensions) allow mutiple metrics,separated by newlines, to be sent per packet.

The send method does not validate the contents of the metric names or values. If the names have newlines and statsd control characters (colon, pipe) then metric injections are possible.

Version 0.04 fixed this by modifying the _make method to block metric names with characters below ASCII 32 (which includes the newline), or colons or pipes.

Executive ViewAI

Why It Matters

Metrics::Any::Adapter::Statsd versions prior to 0.04 contain a metric injection vulnerability (CVE-2026-50637, CVSS 8.2) that could allow attackers to poison monitoring data and disrupt alerting systems; however, no public exploit identified at time of analysis. Organizations using this Perl module for infrastructure monitoring should prioritize patching to maintain observability and incident response reliability.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
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.

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