{"schema":"threatline.record/2","record":{"id":"GHSA-wq5f-xc86-pv6w","aliases":["CVE-2026-114111","GHSA-wq5f-xc86-pv6w"],"summary":"sharp : Vulnerability in librsvg dependency CVE-2026-96889","details":"### 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","categories":["Libraries & packages"],"product":"sharp","vendor":"","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-wq5f-xc86-pv6w","source_modified_at":"2026-10-06T13:43:58Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"sharp"},"range":"< 0.35.5"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-wq5f-xc86-pv6w","source_modified_at":"2026-10-21T10:57:27.441638733Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"sharp","ecosystem":"npm","purl":"pkg:npm/sharp"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.35.5"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-wq5f-xc86-pv6w","source_modified_at":"2026-10-06T13:43:58Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"sharp"},"version":"0.35.5"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-wq5f-xc86-pv6w","source_modified_at":"2026-10-21T10:57:27.441638733Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"sharp","ecosystem":"npm","purl":"pkg:npm/sharp"},"version":"0.35.5"}],"cvss":8.9,"severity":"High","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-06T13:43:57Z","modified_at":"2026-10-21T10:57:27.441638733Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-wq5f-xc86-pv6w","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-06T13:43:58Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-wq5f-xc86-pv6w","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-21T10:57:27.441638733Z"}],"sources":["GitHub Advisory Database","OSV"],"references":[{"url":"https://github.com/lovell/sharp/security/advisories/GHSA-wq5f-xc86-pv6w","source":"GitHub Advisory Database"},{"url":"https://github.com/lovell/sharp/commit/96de105d9d36ab04c76c2b78b97255171630d236","source":"GitHub Advisory Database"},{"url":"https://github.com/lovell/sharp/releases/tag/v0.35.5","source":"GitHub Advisory Database"},{"url":"https://gitlab.gnome.org/GNOME/librsvg/-/work_items/1241","source":"GitHub Advisory Database"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-96889","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-wq5f-xc86-pv6w","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-21T10:57:27.441638733Z","content_hash":"d17a7d367dbf2dbd8eba9862e1b358ec07b18e17b15d967dbca05c571c5abbdb"}}
