Skip to content
OpenAdvisories
Critical · 9.8 CVE-2025-25977 EUVD-2025-6266GHSA-v2mw-5mch-w8c5

canvg Prototype Pollution vulnerability

Published Mar 10, 2025 · Updated Mar 12, 2025 · Assigned by mitre

Description

An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 znuny 6.5.24-1 —
Debian 13 znuny No fix yet —
Debian 12 znuny No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 znuny No fix yet —
Ubuntu 26.04 LTS znuny No fix yet —
Ubuntu 24.04 LTS znuny No fix yet —
Ubuntu 22.04 LTS otrs2 No fix yet —
Ubuntu 20.04 LTS otrs2 No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS otrs2 No fix yet —
Ubuntu 16.04 LTS otrs2 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm canvg >= 4.0.0, < 4.0.3 4.0.3 GHSA-v2mw-5mch-w8c5
npm canvg < 3.0.11 3.0.11 GHSA-v2mw-5mch-w8c5

Advisories 1

References