CVE-2025-47737
CRITICAL 9.8CVSS 3.1trailer mishandles allocating with a size of zero
lib.rs in the trailer crate through 0.1.2 for Rust mishandles allocating with a size of zero.
- Published
- 9 May 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-762
- Also known as
- GHSA-6x45-r4pr-5362RUSTSEC-2025-0163
- Sources
- NVDJSONOSV GHSA-6x45-r4pr-5362JSONOSV RUSTSEC-2025-0163JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | LOW 2.9 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | LOW 2.9 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | RustSec | CVSS 3.1 | LOW 2.9 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | unhandledexpression | trailercpe:2.3:a:unhandledexpression:trailer:*:*:*:*:*:rust:*:* |
<= 0.1.2 | |
| OSV | crates.io | trailer | <= 0.1.2 | |
| OSV | crates.io | trailer | >= 0.0.0-0 |
References
- https://crates.io/crates/trailer · Product, WEB, PACKAGE
- https://github.com/Geal/trailer/issues/2 · Exploit, Issue Tracking, WEB, REPORT
- https://nvd.nist.gov/vuln/detail/CVE-2025-47737 · ADVISORY
- https://github.com/Geal/trailer · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2025-0163.html · WEB, ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 9 May 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 May 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 May 2025)