Medium
GreycLab CImg through 4.0.6 Heap Out-of-Bounds Read via Integer Overflow in _load_bmp()
Type: advisorySources: Official CVE List
CImg through 4.0.6 contains a heap out-of-bounds read vulnerability in the _load_bmp() function of CImg.h caused by an integer overflow in the row byte count. Attackers can supply a crafted BMP file with a large header width that wraps dx_bytes, causing crashes or heap memory disclosure into the decoded image.
- Products
- CImg
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-117555
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 13:58 UTC · Revision 1
Source evidence
GreycLab CImg through 4.0.6 Heap Out-of-Bounds Read via Integer Overflow in _load_bmp()
core-cve · Original sourcePublished 27 Oct 2026, 13:07 UTC
CImg through 4.0.6 contains a heap out-of-bounds read vulnerability in the _load_bmp() function of CImg.h caused by an integer overflow in the row byte count. Attackers can supply a crafted BMP file with a large header width that wraps dx_bytes, causing crashes or heap memory disclosure into the decoded image.
cve:CVE-2026-117555
CImg
Fixed versions: Not specified
Complete source record
{
"id": "6cc540664e8e586e389136102c92adfd339c1f69fdb06daaabf379fde7886ce3",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-117555",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "GreycLab CImg through 4.0.6 Heap Out-of-Bounds Read via Integer Overflow in _load_bmp()",
"summary": "CImg through 4.0.6 contains a heap out-of-bounds read vulnerability in the _load_bmp() function of CImg.h caused by an integer overflow in the row byte count. Attackers can supply a crafted BMP file with a large header width that wraps dx_bytes, causing crashes or heap memory disclosure into the decoded image.",
"evidence": "cve:CVE-2026-117555",
"products": [
{
"name": {
"value": "CImg",
"evidence": "/containers/cna/affected/0/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2026-117555",
"aliases": [
"CVE-2026-117555"
],
"metrics": [
{
"format": "CVSS",
"cvssV4_0": {
"version": "4.0",
"baseScore": 6.9,
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N",
"userInteraction": "PASSIVE",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"subIntegrityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "HIGH",
"subConfidentialityImpact": "NONE",
"vulnConfidentialityImpact": "LOW"
}
},
{
"format": "CVSS",
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 6.1,
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "LOW"
}
}
],
"affected": [
{
"vendor": "GreycLab",
"product": "CImg",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "semver",
"lessThanOrEqual": "4.0.6"
}
],
"defaultStatus": "unaffected"
}
],
"modified": "2026-10-27T13:07:51.020Z",
"provider": "cve",
"references": [
"https://github.com/GreycLab/CImg/issues/495",
"https://github.com/GreycLab/CImg",
"https://github.com/GreycLab/CImg/commit/b9ed613d9984f9caa1617b97e1db7e429cf14fd5",
"https://github.com/GreycLab/CImg/blob/v.4.0.6/CImg.h#L55659",
"https://www.vulncheck.com/advisories/greyclab-cimg-through-4.0.6-heap-out-of-bounds-read-via-integer-overflow-in-load-bmp"
],
"provider_metadata": {
"cna": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2026-10-27T13:07:51.020Z"
}
}
},
"related_cves": [
{
"value": "CVE-2026-117555",
"evidence": "/cveMetadata/cveId"
}
],
"security_relevant": true,
"severity_evidence": "/containers/cna/metrics"
},
"source_id": "core-cve",
"document_id": 392683,
"published_at": "2026-10-27T13:07:51.02+00:00"
}