Medium
libjpeg — security advisory
In libjpeg 1.63, there is a NULL pointer dereference in Component::SubXOf in component.hpp.
- Products
- libjpeg
- Affected versions
- 0.0~git20190821.87636f3b26b4-1, 0.0~git20190821.87636f3b26b4-1.1, 0.0~git20210129.91985dc-1build1, 0.0~git20210908.58455ca-1, 0.0~git20211115.76133b7-1, 0.0~git20211203.966a8ed-1, 0.0~git20220805.54ec643-1, 0.0~git20241105.c719010-1, 0.0~git20250815.25f7128-1, 0.0~git20250815.25f7128-2, 0.0~git20250815.25f7128-3
- Fixed versions
- Not specified
- CVEs
- CVE-2022-32201
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:56 UTC · Revision 1
Source evidence
In libjpeg 1.63, there is a NULL pointer dereference in Component::SubXOf in component.hpp.
osv:UBUNTU-CVE-2022-32201
libjpeg
Fixed versions: Not specified
libjpeg
Fixed versions: Not specified
libjpeg
Fixed versions: Not specified
libjpeg
Fixed versions: Not specified
libjpeg
Fixed versions: Not specified
libjpeg
Fixed versions: Not specified
Complete source record
{
"id": "3de263cdef9ec9b314ddc722991f4e1063dbf68655f8c91d431dbd4e55e0750a",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-32201",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2022-32201",
"summary": "In libjpeg 1.63, there is a NULL pointer dereference in Component::SubXOf in component.hpp.",
"evidence": "osv:UBUNTU-CVE-2022-32201",
"products": [
{
"name": {
"value": "libjpeg",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0~git20190821.87636f3b26b4-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.0~git20190821.87636f3b26b4-1.1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libjpeg",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0~git20210129.91985dc-1build1",
"evidence": "/affected/1/versions"
},
{
"value": "0.0~git20210908.58455ca-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.0~git20211115.76133b7-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.0~git20211203.966a8ed-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "libjpeg",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0~git20220805.54ec643-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "libjpeg",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0~git20241105.c719010-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "libjpeg",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0~git20250815.25f7128-2",
"evidence": "/affected/4/versions"
},
{
"value": "0.0~git20250815.25f7128-3",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "libjpeg",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0~git20241105.c719010-1",
"evidence": "/affected/5/versions"
},
{
"value": "0.0~git20250815.25f7128-1",
"evidence": "/affected/5/versions"
},
{
"value": "0.0~git20250815.25f7128-2",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2022-32201",
"aliases": [
"UBUNTU-CVE-2022-32201"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libjpeg",
"purl": "pkg:deb/ubuntu/libjpeg?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.0~git20190821.87636f3b26b4-1",
"0.0~git20190821.87636f3b26b4-1.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-32201.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjpeg-tools",
"binary_version": "0.0~git20190821.87636f3b26b4-1.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libjpeg",
"purl": "pkg:deb/ubuntu/libjpeg?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.0~git20210129.91985dc-1build1",
"0.0~git20210908.58455ca-1",
"0.0~git20211115.76133b7-1",
"0.0~git20211203.966a8ed-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-32201.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjpeg-tools",
"binary_version": "0.0~git20211203.966a8ed-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libjpeg",
"purl": "pkg:deb/ubuntu/libjpeg?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.0~git20220805.54ec643-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-32201.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjpeg-tools",
"binary_version": "0.0~git20220805.54ec643-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libjpeg",
"purl": "pkg:deb/ubuntu/libjpeg?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.0~git20241105.c719010-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-32201.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjpeg-tools",
"binary_version": "0.0~git20241105.c719010-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libjpeg",
"purl": "pkg:deb/ubuntu/libjpeg?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.0~git20250815.25f7128-2",
"0.0~git20250815.25f7128-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-32201.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjpeg-tools",
"binary_version": "0.0~git20250815.25f7128-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libjpeg",
"purl": "pkg:deb/ubuntu/libjpeg?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.0~git20241105.c719010-1",
"0.0~git20250815.25f7128-1",
"0.0~git20250815.25f7128-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-32201.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjpeg-tools",
"binary_version": "0.0~git20250815.25f7128-2"
}
]
}
}
],
"modified": "2026-10-17T12:56:17.421232770Z",
"provider": "osv",
"upstream": [
"CVE-2022-32201"
],
"references": [
"https://ubuntu.com/security/CVE-2022-32201",
"https://github.com/thorfdbg/libjpeg/commit/ea6315164b1649ff932a396b7600eac4bffcfaba",
"https://github.com/thorfdbg/libjpeg/issues/73",
"https://www.cve.org/CVERecord?id=CVE-2022-32201"
]
},
"related_cves": [
{
"value": "CVE-2022-32201",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355141,
"published_at": "2022-06-02T14:16:00+00:00"
}