Vulnerabilities in pkg:nuget/magick.net-q8-anycpu
PACKAGECVE-2023-4863 is a HIGH (CVSS 8.8) oob write vulnerability (CWE-787: Out-of-bounds Write) affecting libwebp libraries in the crates.io ecosystem. The issue involves oob write in buildhuffmantable. Remediation is available by upgrading affected packages to version 0.1.8, 0.9.3, 22.3.24, 24.8.3, 25.8.1, 26.2.1, 27.0.0-beta.2, 2.88.6, 1.4.0, 10.0.1, 0.2.6, 13.3.0, 0.0.0-20250406010349-76805d5a8860, 1.1.2-0.20250406010349-76805d5a8860.
pkg:nuget/magick.net-q8-anycpu
Vulnerability advisories affecting package pkg:nuget/magick.net-q8-anycpu. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-j7hp-h8jx-5ppr | CVE-2023-4863 | HIGH | libwebp: OOB write in BuildHuffmanTable |
CVE-2023-4863 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-4863
To remediate this vulnerability, upgrade all affected libwebp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade libwebp-sys2 to 0.1.8
Upgrade libwebp-sys to 0.9.3
npm install electron@22.3.24
npm install electron@24.8.3
npm install electron@25.8.1
npm install electron@26.2.1
npm install electron@27.0.0-beta.2
Upgrade SkiaSharp to 2.88.6
Upgrade github.com/chai2010/webp to 1.4.0
pip install Pillow>=10.0.1
Upgrade webp to 0.2.6
Upgrade magick.net-q16-anycpu to 13.3.0
Upgrade magick.net-q16-hdri-anycpu to 13.3.0
Upgrade magick.net-q16-x64 to 13.3.0
Upgrade magick.net-q8-anycpu to 13.3.0
Upgrade magick.net-q8-openmp-x64 to 13.3.0
Upgrade magick.net-q8-x64 to 13.3.0
Upgrade github.com/chai2010/webp to 0.0.0-20250406010349-76805d5a8860
Upgrade github.com/chai2010/webp to 1.1.2-0.20250406010349-76805d5a8860
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for libwebp-sys2
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-4863, inspect your project dependencies for libwebp:
inspect dependencies for libwebp-sys2
Analyze the terminal output to locate any version of libwebp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.8), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-787: Out-of-bounds Write, where the product writes data past the end, or before the beginning, of the intended buffer. In libwebp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-4863 Affected libwebp Versions
19 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
libwebp-sys2
|
crates.io |
< 0.1.8
|
0.1.8
|
|
libwebp-sys
|
crates.io |
< 0.9.3
|
0.9.3
|
|
electron
|
npm |
≥ 22.0.0
< 22.3.24
|
22.3.24
|
|
electron
|
npm |
≥ 24.0.0
< 24.8.3
|
24.8.3
|
|
electron
|
npm |
≥ 25.0.0
< 25.8.1
|
25.8.1
|
|
electron
|
npm |
≥ 26.0.0
< 26.2.1
|
26.2.1
|
|
electron
|
npm |
≥ 27.0.0-beta.1
< 27.0.0-beta.2
|
27.0.0-beta.2
|
|
SkiaSharp
|
NuGet |
≥ 2.0.0
< 2.88.6
|
2.88.6
|
|
github.com/chai2010/webp
|
Go |
≥ 1.1.2
< 1.4.0
|
1.4.0
|
|
Pillow
|
PyPI |
< 10.0.1
|
10.0.1
|
|
webp
|
crates.io |
< 0.2.6
|
0.2.6
|
|
magick.net-q16-anycpu
|
NuGet |
< 13.3.0
|
13.3.0
|
|
magick.net-q16-hdri-anycpu
|
NuGet |
< 13.3.0
|
13.3.0
|
|
magick.net-q16-x64
|
NuGet |
< 13.3.0
|
13.3.0
|
|
magick.net-q8-anycpu
|
NuGet |
< 13.3.0
|
13.3.0
|
|
magick.net-q8-openmp-x64
|
NuGet |
< 13.3.0
|
13.3.0
|
|
magick.net-q8-x64
|
NuGet |
< 13.3.0
|
13.3.0
|
|
github.com/chai2010/webp
|
Go |
< 0.0.0-20250406010349-76805d5a8860
|
0.0.0-20250406010349-76805d5a8860
|
|
github.com/chai2010/webp
|
Go |
≥ 0.0.0
< 1.1.2-0.20250406010349-76805d5a8860
|
1.1.2-0.20250406010349-76805d5a8860
|
References
Frequently Asked Questions
What is CVE-2023-4863?
Which libwebp versions are affected?
What version fixes CVE-2023-4863?
Is libwebp-sys2 affected?
Is libwebp-sys affected?
What is the CVSS score of CVE-2023-4863?
What CWE is associated with CVE-2023-4863?
How can I check crates.io dependencies for CVE-2023-4863?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j7hp-h8jx-5ppr",
"modified" : "2025-07-09T15:52:18Z",
"published" : "2023-09-12T15:30:20Z",
"aliases" : [ "CVE-2023-4863" ],
"summary" : "libwebp: OOB write in BuildHuffmanTable",
"details" : "Heap buffer overflow in libwebp allow a remote attacker to perform an out of bounds memory write via a crafted HTML page.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "libwebp-sys2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.1.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "crates.io",
"name" : "libwebp-sys"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.9.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "electron"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "22.0.0"
}, {
"fixed" : "22.3.24"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "electron"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "24.0.0"
}, {
"fixed" : "24.8.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "electron"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "25.0.0"
}, {
"fixed" : "25.8.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "electron"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "26.0.0"
}, {
"fixed" : "26.2.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "electron"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "27.0.0-beta.1"
}, {
"fixed" : "27.0.0-beta.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "SkiaSharp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.88.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/chai2010/webp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.2"
}, {
"fixed" : "1.4.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "Pillow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "10.0.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "crates.io",
"name" : "webp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.2.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "magick.net-q16-anycpu"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "13.3.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "magick.net-q16-hdri-anycpu"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "13.3.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "magick.net-q16-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "13.3.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "magick.net-q8-anycpu"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "13.3.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "magick.net-q8-openmp-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "13.3.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "magick.net-q8-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "13.3.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/chai2010/webp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20250406010349-76805d5a8860"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/chai2010/webp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.0.0"
}, {
"fixed" : "1.1.2-0.20250406010349-76805d5a8860"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-4863"
}, {
"type" : "WEB",
"url" : "https://github.com/qnighy/libwebp-sys2-rs/pull/21"
}, {
"type" : "WEB",
"url" : "https://github.com/python-pillow/Pillow/pull/7395"
}, {
"type" : "WEB",
"url" : "https://github.com/jaredforth/webp/pull/30"
}, {
"type" : "WEB",
"url" : "https://github.com/electron/electron/pull/39823"
}, {
"type" : "WEB",
"url" : "https://github.com/electron/electron/pull/39825"
}, {
"type" : "WEB",
"url" : "https://github.com/electron/electron/pull/39826"
}, {
"type" : "WEB",
"url" : "https://github.com/electron/electron/pull/39827"
}, {
"type" : "WEB",
"url" : "https://github.com/electron/electron/pull/39828"
}, {
"type" : "WEB",
"url" : "https://github.com/webmproject/libwebp/commit/902bc9190331343b2017211debcec8d2ab87e17a"
}, {
"type" : "WEB",
"url" : "https://github.com/qnighy/libwebp-sys2-rs/commit/4560c473a76ec8bd8c650f19ddf9d7a44f719f8b"
}, {
"type" : "WEB",
"url" : "https://github.com/jaredforth/webp/commit/9d4c56e63abecc777df71c702503c3eaabd7dcbc"
}, {
"type" : "WEB",
"url" : "https://security.gentoo.org/glsa/202401-10"
}, {
"type" : "WEB",
"url" : "https://security.gentoo.org/glsa/202309-05"
}, {
"type" : "WEB",
"url" : "https://security-tracker.debian.org/tracker/CVE-2023-4863"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2023-0061.html"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2023-0060.html"
}, {
"type" : "WEB",
"url" : "https://pillow.readthedocs.io/en/stable/releasenotes/10.0.1.html#security"
}, {
"type" : "WEB",
"url" : "https://news.ycombinator.com/item?id=37478403"
}, {
"type" : "WEB",
"url" : "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-4863"
}, {
"type" : "WEB",
"url" : "https://adamcaudill.com/2023/09/14/whose-cve-is-it-anyway"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20230929-0011"
}, {
"type" : "WEB",
"url" : "https://sethmlarson.dev/security-developer-in-residence-weekly-report-16"
}, {
"type" : "WEB",
"url" : "https://stackdiary.com/critical-vulnerability-in-webp-codec-cve-2023-4863"
}, {
"type" : "WEB",
"url" : "https://www.bentley.com/advisories/be-2023-0001"
}, {
"type" : "WEB",
"url" : "https://www.bleepingcomputer.com/news/google/google-fixes-another-chrome-zero-day-bug-exploited-in-attacks"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2023/dsa-5496"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2023/dsa-5497"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2023/dsa-5498"
}, {
"type" : "WEB",
"url" : "https://www.mozilla.org/en-US/security/advisories/mfsa2023-40"
}, {
"type" : "WEB",
"url" : "https://www.vicarius.io/vsociety/posts/zero-day-webp-vulnerability-cve-2023-4863"
}, {
"type" : "WEB",
"url" : "https://blog.isosceles.com/the-webp-0day"
}, {
"type" : "WEB",
"url" : "https://bugzilla.suse.com/show_bug.cgi?id=1215231"
}, {
"type" : "WEB",
"url" : "https://chromereleases.googleblog.com/2023/09/stable-channel-update-for-desktop_11.html"
}, {
"type" : "WEB",
"url" : "https://crbug.com/1479274"
}, {
"type" : "WEB",
"url" : "https://en.bandisoft.com/honeyview/history"
}, {
"type" : "WEB",
"url" : "https://github.com/ImageMagick/ImageMagick/discussions/6664"
}, {
"type" : "WEB",
"url" : "https://github.com/dlemstra/Magick.NET/releases/tag/13.3.0"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/webmproject/libwebp"
}, {
"type" : "WEB",
"url" : "https://github.com/webmproject/libwebp/releases/tag/v1.3.2"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2023/09/msg00015.html"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2023/09/msg00016.html"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2023/09/msg00017.html"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T655QF7CQ3DYAMPFV7IECQYGDEUIVVT"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FYYKLG6CRGEDTNRBSU26EEWAO6D6U645"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KUQ7CTX3W372X3UY56VVNAHCH6H2F4X3"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OZDGWWMJREPAGKWCJKSCM4WYLANSKIFX"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PYZV7TMKF4QHZ54SFJX54BDN52VHGGCX"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WHOLML7N2G5KCAZXFWC5IDFFHSQS5SDB"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WTRUIS3564P7ZLM2S2IH4Y4KZ327LI4I"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2023/09/21/4"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2023/09/22/1"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2023/09/22/3"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2023/09/22/4"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2023/09/22/5"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2023/09/22/6"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2023/09/22/7"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2023/09/22/8"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2023/09/26/1"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2023/09/26/7"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2023/09/28/1"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2023/09/28/2"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2023/09/28/4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-787" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-09-14T16:20:50Z",
"nvd_published_at" : "2023-09-12T15:15:24Z"
}
}