Read the docs
TI-2023-30793 Aliases GHSA-rcx8-48pc-v9q8

mail-internals use-after-free vulnerability in `vec_insert_bytes`

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
No fix listed

No CVSS vector from any source. Fix status from GitHub.

Summary

Incorrect reallocation logic in the function [`vec_insert_bytes`](https://docs.rs/mail-internals/0.2.3/mail_internals/utils/fn.vec_insert_bytes.html) causes a use-after-free. This function does not have to be called directly to trigger the vulnerability because many methods on [`EncodingWriter`](https://docs.rs/mail-internals/0.2.3/mail_internals/encoder/struct.EncodingWriter.html) call this function internally. The mail-\* suite is unmaintained and the upstream sources have been actively vandalised. A fixed `mail-internals-ng` (and `mail-headers-ng` and `mail-core-ng`) crate has been published which fixes this, and a dependency on another unsound crate.

Why it matters now

Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—mail-internals (crates.io)0.2.0 – 0.2.3—No fix listedGHSA-rcx8-48pc-v9q8
  • mail-internals (crates.io) Vendor— Affected 0.2.0 – 0.2.3 Fixed in — No fix listed GHSA-rcx8-48pc-v9q8

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-03 Threatist record created from GHSA-rcx8-48pc-v9q8

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences