Mismatched Memory Management Routines Affecting trailer package, versions *


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.46% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-TRAILER-17308782
  • published11 Jun 2026
  • disclosed4 May 2025
  • creditUnknown

Introduced: 4 May 2025

CVE-2025-47737  (opens in a new tab)
CWE-762  (opens in a new tab)

How to fix?

There is no fixed version for trailer.

Overview

Affected versions of this package are vulnerable to Mismatched Memory Management Routines in the constructor that does not check the T is not a ZST. An attacker can cause undefined behavior by passing a zero-sized type (ZST) and a capacity of 0, which leads to improper memory allocation and potential memory safety violations.

Note:

The trailer crate is unmaintained and this security issue will not be fixed.

CVSS Base Scores

version 4.0
version 3.1