DirectorySecurity Advisories
Sign In
Security Advisories

CGA-f7fh-p27q-6wp5

Published

Last updated

https://images.chainguard.dev/security/CGA-f7fh-p27q-6wp5
Package

difftastic

Latest Update
Pending upstream fix
Aliases
  • GHSA-g23h-7vf9-xc25

Severity

Unknown

Summary

Mimalloc Can Allocate Memory with Bad Alignment

Description

This crate depended on a promise regarding alignments made by the author of the mimalloc allocator to avoid using aligned allocation functions where possible for performance reasons. Since then, the mimalloc allocator's logic changed, making it break this promise. This caused this crate to return memory with an incorrect alignment for some allocations, particularly those with large alignments. The flaw was fixed by always using the aligned allocation functions.

References

Updates


Safe Source for Open Sourceâ„¢
Media KitContact Us
© 2024 Chainguard. All Rights Reserved.
Private PolicyTerms of Use

Product

Chainguard Images