High
freeimage — security advisory
In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG j2k_read_ppm_v3 function in j2k.c. The value of l_N_ppm comes from the file read in, and the code does not consider that l_N_ppm may be greater than the size of p_header_data.
- Products
- freeimage
- Affected versions
- 3.18.0+ds2-10, 3.18.0+ds2-11, 3.18.0+ds2-9, 3.18.0+ds2-9+deb12u1, 3.18.0+ds2-9.1
- Fixed versions
- Not specified
- CVEs
- CVE-2019-12214
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 12:46 UTC · Revision 1
Source evidence
In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG j2k_read_ppm_v3 function in j2k.c. The value of l_N_ppm comes from the file read in, and the code does not consider that l_N_ppm may be greater than the size of p_header_data.
osv:DEBIAN-CVE-2019-12214
freeimage
Fixed versions: Not specified
freeimage
Fixed versions: Not specified
Complete source record
{
"id": "802be5b26a0e149da0b75b9ab00ad61cf11b6242db1650ecf1bf3fc97a686759",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2019-12214",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2019-12214",
"summary": "In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG j2k_read_ppm_v3 function in j2k.c. The value of l_N_ppm comes from the file read in, and the code does not consider that l_N_ppm may be greater than the size of p_header_data.",
"evidence": "osv:DEBIAN-CVE-2019-12214",
"products": [
{
"name": {
"value": "freeimage",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.18.0+ds2-10",
"evidence": "/affected/0/versions"
},
{
"value": "3.18.0+ds2-11",
"evidence": "/affected/0/versions"
},
{
"value": "3.18.0+ds2-9",
"evidence": "/affected/0/versions"
},
{
"value": "3.18.0+ds2-9+deb12u1",
"evidence": "/affected/0/versions"
},
{
"value": "3.18.0+ds2-9.1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "freeimage",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.18.0+ds2-11",
"evidence": "/affected/1/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2019-12214",
"aliases": [
"DEBIAN-CVE-2019-12214"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "freeimage",
"purl": "pkg:deb/debian/freeimage?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"3.18.0+ds2-10",
"3.18.0+ds2-11",
"3.18.0+ds2-9",
"3.18.0+ds2-9+deb12u1",
"3.18.0+ds2-9.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2019-12214.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "freeimage",
"purl": "pkg:deb/debian/freeimage?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"3.18.0+ds2-11"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2019-12214.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-09T17:00:04.589648019Z",
"provider": "osv",
"upstream": [
"CVE-2019-12214"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2019-12214"
]
},
"related_cves": [
{
"value": "CVE-2019-12214",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 122258,
"published_at": "2019-05-20T16:29:01.24+00:00"
}