Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-13568

CImg through 2.6.7 has a heap-based buffer overflow in _load_bmp in CImg.h because of erroneous memory allocation for a malformed BMP image.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-13568
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:20 UTC · Revision 1

Source evidence

CVE-2019-13568

core-osv · Original source

Published 31 Jul 2019, 15:15 UTC

CImg through 2.6.7 has a heap-based buffer overflow in _load_bmp in CImg.h because of erroneous memory allocation for a malformed BMP image.

osv:CVE-2019-13568
Complete source record
{
  "id": "ca18d49557c667f41e8c263247d53b9b01f51c8b75b30a8a13b39376dc8c636f",
  "url": "https://osv.dev/vulnerability/CVE-2019-13568",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-13568",
    "summary": "CImg through 2.6.7 has a heap-based buffer overflow in _load_bmp in CImg.h because of erroneous memory allocation for a malformed BMP image.",
    "evidence": "osv:CVE-2019-13568",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-13568",
      "aliases": [
        "CVE-2019-13568"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/GreycLab/CImg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "17c15abb5b49208731e2dd5cd45958dc13603779"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cimg:cimg:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.6.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v.2.6.7",
            "v.2.6.6",
            "v.2.6.5",
            "v.2.6.4",
            "v.2.6.3",
            "v.2.6.2",
            "v.2.6.1",
            "v.2.6.0",
            "v.2.5.7",
            "v.2.5.6",
            "v.2.5.5",
            "v.2.5.4",
            "v.2.5.3",
            "v.2.5.2",
            "v.2.5.1",
            "v.2.5.0",
            "v.2.4.5",
            "v.2.4.4",
            "v.2.4.3",
            "v.2.4.2",
            "v.2.4.1",
            "v.2.4.0",
            "v.2.3.6",
            "v.2.3.5",
            "v.2.3.4",
            "v.2.3.3",
            "v.2.3.2",
            "v.2.3.1",
            "v.2.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-13568.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/greyclab/cimg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "17c15abb5b49208731e2dd5cd45958dc13603779"
                },
                {
                  "fixed": "ac8003393569aba51048c9d67e1491559877b1d1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cimg:cimg:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.6.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ac8003393569aba51048c9d67e1491559877b1d1"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v.2.6.7",
            "v.2.6.6",
            "v.2.6.5",
            "v.2.6.4",
            "v.2.6.3",
            "v.2.6.2",
            "v.2.6.1",
            "v.2.6.0",
            "v.2.5.7",
            "v.2.5.6",
            "v.2.5.5",
            "v.2.5.4",
            "v.2.5.3",
            "v.2.5.2",
            "v.2.5.1",
            "v.2.5.0",
            "v.2.4.5",
            "v.2.4.4",
            "v.2.4.3",
            "v.2.4.2",
            "v.2.4.1",
            "v.2.4.0",
            "v.2.3.6",
            "v.2.3.5",
            "v.2.3.4",
            "v.2.3.3",
            "v.2.3.2",
            "v.2.3.1",
            "v.2.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-13568.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-13568-9b7918e6",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "123900495252698105146206851399364022680",
                    "34985455046062833179538152961747109064",
                    "259368712130415099546123384839278813714",
                    "30279005630026207159421049988461690667"
                  ]
                },
                "source": "https://github.com/greyclab/cimg/commit/ac8003393569aba51048c9d67e1491559877b1d1",
                "target": {
                  "file": "CImg.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:13:05Z"
          }
        }
      ],
      "modified": "2026-10-24T14:13:05.766510077Z",
      "provider": "osv",
      "references": [
        "https://github.com/dtschump/CImg/commit/ac8003393569aba51048c9d67e1491559877b1d1",
        "https://github.com/dtschump/CImg"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-13568",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443412,
  "published_at": "2019-07-31T15:15:12.797+00:00"
}