High
Security advisory
A heap-based buffer overflow was found in openjpeg in color.c:379:42 in sycc420_to_rgb when decompressing a crafted .j2k file. An attacker could use this to execute arbitrary code with the permissions of the application compiled against openjpeg.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-3575
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:18 UTC · Revision 1
Source evidence
A heap-based buffer overflow was found in openjpeg in color.c:379:42 in sycc420_to_rgb when decompressing a crafted .j2k file. An attacker could use this to execute arbitrary code with the permissions of the application compiled against openjpeg.
osv:CVE-2021-3575
Complete source record
{
"id": "0515c0942edf303ba551ba2391fc1d582fe652c1a9b0d7f5c17f0a4bb9172728",
"url": "https://osv.dev/vulnerability/CVE-2021-3575",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-3575",
"summary": "A heap-based buffer overflow was found in openjpeg in color.c:379:42 in sycc420_to_rgb when decompressing a crafted .j2k file. An attacker could use this to execute arbitrary code with the permissions of the application compiled against openjpeg.",
"evidence": "osv:CVE-2021-3575",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-3575",
"aliases": [
"CVE-2021-3575"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/uclouvain/openjpeg",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "37ac30ceff6640bbab502388c5e0fa0bff23f505"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.4.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.4.0",
"v2.3.1",
"v2.3.0",
"v2.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3575.json"
}
}
],
"modified": "2026-10-20T10:53:49.610657179Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2025/04/msg00002.html",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZ54FGM2IGAP4AWSJ22JKHOPHCR3FGYU/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QB6AI7CWXWMEDZIQY4LQ6DMIEXMDOHUP/",
"https://ubuntu.com/security/CVE-2021-3575",
"https://bugzilla.redhat.com/show_bug.cgi?id=1957616",
"https://github.com/uclouvain/openjpeg/issues/1347"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "33"
},
{
"last_affected": "33"
},
{
"introduced": "34"
},
{
"last_affected": "34"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*",
"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux",
"extracted_events": [
{
"range": [
{
"introduced": "6.0"
},
{
"last_affected": "6.0"
},
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
},
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-3575",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384669,
"published_at": "2022-03-04T18:15:08.193+00:00"
}