{"id":"CVE-2026-114111","aliases":["CVE-2026-114111","GHSA-wq5f-xc86-pv6w"],"related":[],"kind":"vulnerability","state":"published","title":"Sharp before 0.35.5 RCE via librsvg Dependency Memory Vulnerability","summary":"sharp before 0.35.5 bundles a librsvg dependency affected by a memory-related vulnerability (CVE-2026-96889) that, under certain runtime-specific conditions, can lead to code execution on glibc-based Linux. An attacker can supply a crafted SVG image that, when decoded by sharp through librsvg, may result in arbitrary code execution.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"sharp before 0.35.5 bundles a librsvg dependency affected by a memory-related vulnerability (CVE-2026-96889) that, under certain runtime-specific conditions, can lead to code execution on glibc-based Linux. An attacker can supply a crafted SVG image that, when decoded by sharp through librsvg, may result in arbitrary code execution.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nA memory-related vulnerability has been discovered and fixed in the upstream librsvg dependency. When certain runtime-specific conditions apply, this vulnerability can lead to possible remote code execution (RCE) on glibc-based Linux.\n\n### Patches\n\n#### Using prebuilt binaries provided by sharp?\n\nMost people rely on the prebuilt binaries provided by sharp.\n\nPlease upgrade sharp to the latest version, currently 0.35.5, which provides librsvg 2.63.2.\n\n#### Using a globally-installed librsvg?\n\nPlease ensure you are using the latest librsvg 2.63.2.\n\n### Workarounds\n\nAdd the following to your code to prevent sharp from decoding SVG images.\n```js\nsharp.block({ operation: [\"VipsForeignLoadSvg\"] });\n```\n\nTo avoid RCE, ensure you are using a `node` executable binary compiled as a Position Independent Executable (PIE). Most Linux package managers already use this security-hardening feature however be warned that the \"official\" Node.js binaries do not.\n1","format":"markdown","source":"ghsa"}],"published":"2026-10-06T13:43:57.000Z","modified":"2026-10-28T14:16:57.510Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":8.9,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":8.9,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","rating":"HIGH"}],"cwes":["CWE-416","CWE-1395"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.35.5","status":"affected"},{"type":"semver","version":"0.35.5","status":"unaffected"}],"vendor":"lovell","product":"sharp","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.35.5"}],"ecosystem":"npm","package":"sharp","purl":"pkg:npm/sharp","source":"ghsa"}],"references":[{"url":"https://github.com/lovell/sharp/security/advisories/GHSA-wq5f-xc86-pv6w","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/sharp-before-0.35.5-rce-via-librsvg-dependency-memory-vulnerability","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/lovell/sharp/commit/96de105d9d36ab04c76c2b78b97255171630d236","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/lovell/sharp","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/lovell/sharp/releases/tag/v0.35.5","tags":["web"],"sources":["ghsa"]},{"url":"https://gitlab.gnome.org/GNOME/librsvg/-/work_items/1241","tags":["web"],"sources":["ghsa"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-96889","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-28T13:49:33.729Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-114111","url":"https://www.cve.org/CVERecord?id=CVE-2026-114111","licence":"CVE Terms of Use","modified":"2026-10-28T13:49:52.276Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wq5f-xc86-pv6w","url":"https://github.com/advisories/GHSA-wq5f-xc86-pv6w","licence":"CC-BY-4.0","modified":"2026-10-21T10:57:27.441Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-114111","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114111","licence":"Public domain","modified":"2026-10-28T14:16:57.510Z"}],"updatedAt":"2026-11-25T22:59:46.551Z","epss":{"score":0.00162,"percentile":0.05651,"date":"2026-12-01T12:00:22.000Z"}}