CVE-2026-50638 Details
Description
Metrics::Any::Adapter::DogStatsd versions before 0.04 for Perl does not protect against metric injections. The statsd protocol (and extensions such as dogstatsd) allow mutiple metrics, separated by newlines, to be sent per packet. Metrics::Any::Adapter::DogStatsd which extends Metrics::Any::Adapter::Statsd, which has a similar vulnerability. In addition, the _tags function does not check tags for newlines or statsd control characters. The tags can be used for metric injections.
A vulnerability allowing metric injections has been identified in Metrics::Any::Adapter::DogStatsd versions prior to 0.04 and in DataDog::DogStatsd versions through 0.07, both for Perl. These libraries do not properly sanitize input before sending metrics, allowing the injection of malicious data from untrusted sources. The DogStatsd protocol permits multiple metrics to be sent per packet, separated by newlines. The vulnerability arises because the send_stats method fails to validate metric names, values, and tags, leaving the door open for injections, especially with control characters like newlines, pipes, and colons.
Users are advised to update Metrics::Any::Adapter::DogStatsd to version 0.04 or later, and DataDog::DogStatsd to a version later than 0.07.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://metacpan.org/release/PEVANS/Metrics-Any-Adapter-Statsd-0.04/changes | CPANSec | Release Notes |
| https://www.cve.org/CVERecord?id=CVE-2026-50637 | CPANSec | Third Party Advisory |
| https://www.cve.org/CVERecord?id=CVE-2026-50639 | CPANSec | Third Party Advisory |
| https://www.cve.org/CVERecord?id=CVE-2026-9270 | CPANSec | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-150 | Improper Neutralization of Escape, Meta, or Control Sequences | CPANSec |
| CWE-93 | Improper Neutralization of CRLF Sequences ('CRLF Injection') | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| pevans metrics::any::adapter::dogstatsd | < 0.04 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jun 24, 2026 | Initial Analysis | [email protected] |
| Jun 19, 2026 | CVE Modified | CPANSec |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | CPANSec |
| Jun 11, 2026 | CVE Modified | CISA-ADP |
| Jun 10, 2026 | New CVE Received | CPANSec |