Memory Leak Affecting grafana-image-renderer package, versions <3.12.6-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.78% (54th 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-WOLFILATEST-GRAFANAIMAGERENDERER-15389312
  • published4 Mar 2026
  • disclosed19 May 2025

Introduced: 19 May 2025

CVE-2025-47935  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade Wolfi grafana-image-renderer to version 3.12.6-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grafana-image-renderer package and not the grafana-image-renderer package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

Multer is a node.js middleware for handling multipart/form-data. Versions prior to 2.0.0 are vulnerable to a resource exhaustion and memory leak issue due to improper stream handling. When the HTTP request stream emits an error, the internal busboy stream is not closed, violating Node.js stream safety guidance. This leads to unclosed streams accumulating over time, consuming memory and file descriptors. Under sustained or repeated failure conditions, this can result in denial of service, requiring manual server restarts to recover. All users of Multer handling file uploads are potentially impacted. Users should upgrade to 2.0.0 to receive a patch. No known workarounds are available.