{"id":"CVE-2025-25977","aliases":["DEBIAN-CVE-2025-25977","EUVD-2025-6266","GHSA-v2mw-5mch-w8c5","UBUNTU-CVE-2025-25977"],"status":"published","title":"canvg Prototype Pollution vulnerability","description":"An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.00713,"percentile":0.53923,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1321"],"published":"2025-03-10T00:00:00Z","modified":"2026-10-28T02:30:54Z","fixes":[{"ecosystem":"npm","package":"canvg","fixed_in":["4.0.3","3.0.11"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:14","package":"znuny","fixed_in":["6.5.24-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"canvg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.0.3"}]}]},{"source":"ghsa","ecosystem":"npm","package":"canvg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.11"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"znuny","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.3.2-3","6.3.3-1","6.3.3-1~bpo11+1","6.3.4-1","6.3.4-1~bpo11+1","6.4.2-1","6.4.2-1~bpo11+1","6.4.2-2","6.4.3-1","6.4.3-1~bpo11+1","6.4.4-1","6.4.5-1","6.4.5-1~bpo11+1","6.4.5-2","6.5.1-1","6.5.10-1","6.5.10-1~bpo12+1","6.5.11-1","6.5.11-1~bpo12+1","6.5.13-1","6.5.14-1","6.5.14-1~bpo12+1","6.5.15-1","6.5.15-2","6.5.15-2~bpo12+1","6.5.16-1","6.5.18-1","6.5.18-1~bpo13+1","6.5.19-1","6.5.20-1","6.5.21-1","6.5.22-1","6.5.22-1~bpo13+1","6.5.23-1","6.5.23-1~bpo13+1","6.5.24-1","6.5.24-1~bpo13+1","6.5.3-1","6.5.3-1~bpo12+1","6.5.4-1","6.5.4-1~bpo12+1","6.5.5-1","6.5.5-1~bpo12+1","6.5.6-1","6.5.6-1~bpo12+1","6.5.8-1","6.5.8-1~bpo12+1","6.5.9-1","6.5.9-1~bpo12+1"]},{"source":"osv","ecosystem":"Debian:13","package":"znuny","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.3.2-3","6.3.3-1","6.3.3-1~bpo11+1","6.3.4-1","6.3.4-1~bpo11+1","6.4.2-1","6.4.2-1~bpo11+1","6.4.2-2","6.4.3-1","6.4.3-1~bpo11+1","6.4.4-1","6.4.5-1","6.4.5-1~bpo11+1","6.4.5-2","6.5.1-1","6.5.10-1","6.5.10-1~bpo12+1","6.5.11-1","6.5.11-1~bpo12+1","6.5.13-1","6.5.14-1","6.5.14-1~bpo12+1","6.5.15-1","6.5.15-2","6.5.15-2~bpo12+1","6.5.16-1","6.5.18-1","6.5.18-1~bpo13+1","6.5.19-1","6.5.20-1","6.5.21-1","6.5.22-1","6.5.22-1~bpo13+1","6.5.23-1","6.5.23-1~bpo13+1","6.5.24-1","6.5.24-1~bpo13+1","6.5.3-1","6.5.3-1~bpo12+1","6.5.4-1","6.5.4-1~bpo12+1","6.5.5-1","6.5.5-1~bpo12+1","6.5.6-1","6.5.6-1~bpo12+1","6.5.8-1","6.5.8-1~bpo12+1","6.5.9-1","6.5.9-1~bpo12+1"]},{"source":"osv","ecosystem":"Debian:14","package":"znuny","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.5.24-1"}]}],"versions":["6.3.2-3","6.3.3-1","6.3.3-1~bpo11+1","6.3.4-1","6.3.4-1~bpo11+1","6.4.2-1","6.4.2-1~bpo11+1","6.4.2-2","6.4.3-1","6.4.3-1~bpo11+1","6.4.4-1","6.4.5-1","6.4.5-1~bpo11+1","6.4.5-2","6.5.1-1","6.5.10-1","6.5.10-1~bpo12+1","6.5.11-1","6.5.11-1~bpo12+1","6.5.13-1","6.5.14-1","6.5.14-1~bpo12+1","6.5.15-1","6.5.15-2","6.5.15-2~bpo12+1","6.5.16-1","6.5.18-1","6.5.18-1~bpo13+1","6.5.19-1","6.5.20-1","6.5.21-1","6.5.22-1","6.5.22-1~bpo13+1","6.5.23-1","6.5.23-1~bpo13+1","6.5.24-1~bpo13+1","6.5.3-1","6.5.3-1~bpo12+1","6.5.4-1","6.5.4-1~bpo12+1","6.5.5-1","6.5.5-1~bpo12+1","6.5.6-1","6.5.6-1~bpo12+1","6.5.8-1","6.5.8-1~bpo12+1","6.5.9-1","6.5.9-1~bpo12+1"]},{"source":"osv","ecosystem":"npm","package":"canvg","ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"4.0.3"}]}]},{"source":"osv","ecosystem":"npm","package":"canvg","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.0.11"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"otrs2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.10-1","5.0.1-1","5.0.1-2","5.0.2-1","5.0.3-1","5.0.5-1","5.0.6-1","5.0.7-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"otrs2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.23-1","5.0.24-1","6.0.1-1","6.0.2-1","6.0.3-1","6.0.4-1","6.0.5-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"otrs2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.20-1","6.0.23-2","6.0.24-1","6.0.25-1","6.0.25-2","6.0.25-3","6.0.26-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"otrs2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.32-6","6.1.2-1","6.2.1-1","6.2.2-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"znuny","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.5.3-1","6.5.4-1","6.5.5-1","6.5.6-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"znuny","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.5.18-1","6.5.20-1","6.5.21-1","6.5.22-1","6.5.23-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"znuny","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.5.15-2","6.5.18-1"]}],"products":[{"vendor":"canvg","product":"canvg"}],"references":[{"url":"https://github.com/canvg/canvg/issues/1749","tags":["exploit","Exploit","Issue Tracking","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25977","tags":["advisory"]},{"url":"https://github.com/canvg/canvg/blob/937668eced93e0335c67a255d0d2277ea708b2cb/src/Document/StyleElement.ts","tags":["web"]},{"url":"https://github.com/canvg/canvg/commit/c3743e6345f3e01aefdcdd412c3f26494f4b5d7d","tags":["web"]},{"url":"https://github.com/advisories/GHSA-v2mw-5mch-w8c5"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25977.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-25977","tags":["advisory"]},{"url":"https://github.com/canvg/canvg","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2025-25977","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-25977","tags":["report"]},{"url":"https://www.znuny.org/en/releases/znuny-lts-6-5-24","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-25977","description":"An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.","status":"published","published":"2025-03-10T00:00:00Z","modified":"2025-03-12T18:20:57.363Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:32:31.971896Z"}],"euvd":[{"id":"EUVD-2025-6266","description":"An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.","status":"published","published":"2025-03-10T00:00:00Z","modified":"2025-03-12T18:20:57Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:53:05.95539Z"}],"ghsa":[{"id":"GHSA-v2mw-5mch-w8c5","title":"canvg Prototype Pollution vulnerability","description":"An issue in canvg prior to v.4.0.3 and v3.0.11 can lead to prototype pollution via the Constructor of the class StyleElement.","status":"published","published":"2025-03-10T18:31:56Z","modified":"2025-03-17T15:41:45Z","cvss":[{"version":"4.0","score":8.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","level":"high"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:38:35.74197Z"}],"nvd":[{"id":"CVE-2025-25977","description":"An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.","status":"published","published":"2025-03-10T16:15:13.633Z","modified":"2026-06-17T09:01:22.42Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:10:53.101324Z"}],"osv":[{"id":"CVE-2025-25977","description":"An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.","status":"published","published":"2025-03-10T00:00:00Z","modified":"2026-10-28T02:30:54.130549145Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:47.386092Z"},{"id":"DEBIAN-CVE-2025-25977","description":"An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.","status":"published","published":"2025-03-10T16:15:13.633Z","modified":"2026-09-01T20:05:44.804348583Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:45.870237Z"},{"id":"GHSA-v2mw-5mch-w8c5","title":"canvg Prototype Pollution vulnerability","description":"An issue in canvg prior to v.4.0.3 and v3.0.11 can lead to prototype pollution via the Constructor of the class StyleElement.","status":"published","published":"2025-03-10T18:31:56Z","modified":"2026-09-10T03:49:48.40201188Z","cvss":[{"version":"4.0","score":8.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","level":"high"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T15:46:56.639206Z"},{"id":"UBUNTU-CVE-2025-25977","description":"An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.","status":"published","published":"2025-03-10T16:15:00Z","modified":"2026-10-17T12:57:26.488158416Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T16:55:26.330196Z"}]}}
