Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- Low severity, with a CVSS score of 3.1, published 8 September 2026.
- Which products and versions are affected?
- astro (npm) SEMVER:introduced=0,fixed=7.2.8.
- Is there a fix for This vulnerability?
- Yes. astro (npm): upgrade to 7.2.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is This vulnerability attacked?
- It is attacked over the network.
- Am I affected?
- Check whether you run astro (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- astro (npm): upgrade to 7.2.8 or later
npm install astro@7.2.8
Technical details
The vulnerability is a heap buffer overflow (CWE-787 / CWE-125) in libheif's scale_nearest_neighbor() function, triggered by a chain of four behaviors in HEIF/AVIF image processing. A crafted AVIF file with nested iden (identity-derivation) and auxl (auxiliary) item references causes duplicate Alpha planes in the decoded image to be created with different bit depths (8-bit and 10-bit). The scaler allocates a destination Alpha buffer using only the first plane's bit depth (8-bit), then iterates over all source planes. When writing a 10-bit Alpha plane using uint16_t pointers into an 8-bit allocation, it writes twice as many bytes as allocated, causing a controlled overflow. The attack requires the application to process an untrusted AVIF image—no authentication or special API options are needed. Astro versions prior to 7.2.8 are affected through their dependency on vulnerable versions of Sharp. The fix was released in Astro 7.2.8, which requires Sharp 0.35.4 or later.
Affected products
- The Astro Project Astro < 7.2.8
Timeline
- 2026-09-08: disclosed: GHSA-26w7-cxv4-gfx2 published
- 2026-08-26: patched: Astro 7.2.8 released with Sharp 0.35.4
References
- https://github.com/strukturag/libheif/security/advisories/GHSA-g89c-p67h-r497
- https://github.com/withastro/astro/security/advisories/GHSA-26w7-cxv4-gfx2
- https://github.com/withastro/astro/commit/ecb4082131490b4fe9a56aa44fda84b54ef8967b
- https://github.com/withastro/astro
- https://github.com/withastro/astro/releases/tag/astro@7.2.8