Search

Find a vulnerability

Search criteria Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.

    4 vulnerabilities by GreycLab

    CVE-2026-42146 (GCVE-0-2026-42146)

    Vulnerability from nvd – Published: 2026-05-04 17:53 – Updated: 2026-05-06 13:44
    VLAI
    Title
    CImg Library: Uncontrolled memory allocation via nb_colors field in _load_bmp
    Summary
    CImg Library is a C++ library for image processing. Prior to commit c3aacf5, the nb_colors field read from the BMP file header is used directly to compute an allocation size without validating it against the remaining file size. A crafted BMP file with a large nb_colors value triggers an out-of-memory condition, crashing any application that uses CImg to load untrusted BMP files. This issue has been patched via commit c3aacf5.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator (v2.0.3)
    CWE
    • CWE-789 - Memory Allocation with Excessive Size Value
    Assigner
    Impacted products
    Vendor Product Version
    GreycLab CImg Affected: < c3aacf5b96ac1e54b7af1957c6737dbf3949f6d3
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-42146",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-06T13:43:28.189688Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-06T13:44:14.581Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://github.com/GreycLab/CImg/issues/477"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "CImg",
              "vendor": "GreycLab",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c c3aacf5b96ac1e54b7af1957c6737dbf3949f6d3"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "CImg Library is a C++ library for image processing. Prior to commit c3aacf5, the nb_colors field read from the BMP file header is used directly to compute an allocation size without validating it against the remaining file size. A crafted BMP file with a large nb_colors value triggers an out-of-memory condition, crashing any application that uses CImg to load untrusted BMP files. This issue has been patched via commit c3aacf5."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-789",
                  "description": "CWE-789: Memory Allocation with Excessive Size Value",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-05-04T17:53:23.830Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/GreycLab/CImg/security/advisories/GHSA-g54r-qmgx-c6fv",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/GreycLab/CImg/security/advisories/GHSA-g54r-qmgx-c6fv"
            },
            {
              "name": "https://github.com/GreycLab/CImg/issues/477",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/GreycLab/CImg/issues/477"
            },
            {
              "name": "https://github.com/GreycLab/CImg/commit/c3aacf5b96ac1e54b7af1957c6737dbf3949f6d3",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/GreycLab/CImg/commit/c3aacf5b96ac1e54b7af1957c6737dbf3949f6d3"
            },
            {
              "name": "https://github.com/GreycLab/CImg/releases/tag/v.3.7.5",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/GreycLab/CImg/releases/tag/v.3.7.5"
            }
          ],
          "source": {
            "advisory": "GHSA-g54r-qmgx-c6fv",
            "discovery": "UNKNOWN"
          },
          "title": "CImg Library: Uncontrolled memory allocation via nb_colors field in _load_bmp"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-42146",
        "datePublished": "2026-05-04T17:53:23.830Z",
        "dateReserved": "2026-04-24T17:15:21.834Z",
        "dateUpdated": "2026-05-06T13:44:14.581Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-42144 (GCVE-0-2026-42144)

    Vulnerability from nvd – Published: 2026-05-04 17:51 – Updated: 2026-05-05 14:14
    VLAI
    Title
    CImg Library: Integer overflow in PNM size check bypasses memory guard (_load_pnm)
    Summary
    CImg Library is a C++ library for image processing. Prior to commit 4ca26bc, there is an integer overflow vulnerability in the W*H*D size computation inside _load_pnm() that can bypass the memory allocation guard. A crafted PNM/PGM/PPM file with large dimension values causes the overflow to wrap around, allocating an undersized buffer and potentially triggering a heap buffer overflow. Any application using CImg to load untrusted image files is affected. This issue has been patched via commit 4ca26bc.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator (v2.0.3)
    CWE
    • CWE-190 - Integer Overflow or Wraparound
    Assigner
    Impacted products
    Vendor Product Version
    GreycLab CImg Affected: < 4ca26bce4d8c61fcd1507d5f9401b9fb1222c27d
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-42144",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-05T13:07:54.801471Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-05T14:14:38.921Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "CImg",
              "vendor": "GreycLab",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 4ca26bce4d8c61fcd1507d5f9401b9fb1222c27d"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "CImg Library is a C++ library for image processing. Prior to commit 4ca26bc, there is an integer overflow vulnerability in the W*H*D size computation inside _load_pnm() that can bypass the memory allocation guard. A crafted PNM/PGM/PPM file with large dimension values causes the overflow to wrap around, allocating an undersized buffer and potentially triggering a heap buffer overflow. Any application using CImg to load untrusted image files is affected. This issue has been patched via commit 4ca26bc."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 6.1,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-190",
                  "description": "CWE-190: Integer Overflow or Wraparound",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-05-04T17:51:38.144Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/GreycLab/CImg/security/advisories/GHSA-4663-63fm-44gc",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/GreycLab/CImg/security/advisories/GHSA-4663-63fm-44gc"
            },
            {
              "name": "https://github.com/GreycLab/CImg/issues/478",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/GreycLab/CImg/issues/478"
            },
            {
              "name": "https://github.com/GreycLab/CImg/commit/4ca26bce4d8c61fcd1507d5f9401b9fb1222c27d",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/GreycLab/CImg/commit/4ca26bce4d8c61fcd1507d5f9401b9fb1222c27d"
            },
            {
              "name": "https://github.com/GreycLab/CImg/releases/tag/v.3.7.5",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/GreycLab/CImg/releases/tag/v.3.7.5"
            }
          ],
          "source": {
            "advisory": "GHSA-4663-63fm-44gc",
            "discovery": "UNKNOWN"
          },
          "title": "CImg Library: Integer overflow in PNM size check bypasses memory guard (_load_pnm)"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-42144",
        "datePublished": "2026-05-04T17:51:38.144Z",
        "dateReserved": "2026-04-24T17:15:21.834Z",
        "dateUpdated": "2026-05-05T14:14:38.921Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-42146 (GCVE-0-2026-42146)

    Vulnerability from cvelistv5 – Published: 2026-05-04 17:53 – Updated: 2026-05-06 13:44
    VLAI
    Title
    CImg Library: Uncontrolled memory allocation via nb_colors field in _load_bmp
    Summary
    CImg Library is a C++ library for image processing. Prior to commit c3aacf5, the nb_colors field read from the BMP file header is used directly to compute an allocation size without validating it against the remaining file size. A crafted BMP file with a large nb_colors value triggers an out-of-memory condition, crashing any application that uses CImg to load untrusted BMP files. This issue has been patched via commit c3aacf5.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator (v2.0.3)
    CWE
    • CWE-789 - Memory Allocation with Excessive Size Value
    Assigner
    Impacted products
    Vendor Product Version
    GreycLab CImg Affected: < c3aacf5b96ac1e54b7af1957c6737dbf3949f6d3
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-42146",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-06T13:43:28.189688Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-06T13:44:14.581Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://github.com/GreycLab/CImg/issues/477"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "CImg",
              "vendor": "GreycLab",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c c3aacf5b96ac1e54b7af1957c6737dbf3949f6d3"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "CImg Library is a C++ library for image processing. Prior to commit c3aacf5, the nb_colors field read from the BMP file header is used directly to compute an allocation size without validating it against the remaining file size. A crafted BMP file with a large nb_colors value triggers an out-of-memory condition, crashing any application that uses CImg to load untrusted BMP files. This issue has been patched via commit c3aacf5."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-789",
                  "description": "CWE-789: Memory Allocation with Excessive Size Value",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-05-04T17:53:23.830Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/GreycLab/CImg/security/advisories/GHSA-g54r-qmgx-c6fv",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/GreycLab/CImg/security/advisories/GHSA-g54r-qmgx-c6fv"
            },
            {
              "name": "https://github.com/GreycLab/CImg/issues/477",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/GreycLab/CImg/issues/477"
            },
            {
              "name": "https://github.com/GreycLab/CImg/commit/c3aacf5b96ac1e54b7af1957c6737dbf3949f6d3",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/GreycLab/CImg/commit/c3aacf5b96ac1e54b7af1957c6737dbf3949f6d3"
            },
            {
              "name": "https://github.com/GreycLab/CImg/releases/tag/v.3.7.5",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/GreycLab/CImg/releases/tag/v.3.7.5"
            }
          ],
          "source": {
            "advisory": "GHSA-g54r-qmgx-c6fv",
            "discovery": "UNKNOWN"
          },
          "title": "CImg Library: Uncontrolled memory allocation via nb_colors field in _load_bmp"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-42146",
        "datePublished": "2026-05-04T17:53:23.830Z",
        "dateReserved": "2026-04-24T17:15:21.834Z",
        "dateUpdated": "2026-05-06T13:44:14.581Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-42144 (GCVE-0-2026-42144)

    Vulnerability from cvelistv5 – Published: 2026-05-04 17:51 – Updated: 2026-05-05 14:14
    VLAI
    Title
    CImg Library: Integer overflow in PNM size check bypasses memory guard (_load_pnm)
    Summary
    CImg Library is a C++ library for image processing. Prior to commit 4ca26bc, there is an integer overflow vulnerability in the W*H*D size computation inside _load_pnm() that can bypass the memory allocation guard. A crafted PNM/PGM/PPM file with large dimension values causes the overflow to wrap around, allocating an undersized buffer and potentially triggering a heap buffer overflow. Any application using CImg to load untrusted image files is affected. This issue has been patched via commit 4ca26bc.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator (v2.0.3)
    CWE
    • CWE-190 - Integer Overflow or Wraparound
    Assigner
    Impacted products
    Vendor Product Version
    GreycLab CImg Affected: < 4ca26bce4d8c61fcd1507d5f9401b9fb1222c27d
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-42144",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-05T13:07:54.801471Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-05T14:14:38.921Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "CImg",
              "vendor": "GreycLab",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 4ca26bce4d8c61fcd1507d5f9401b9fb1222c27d"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "CImg Library is a C++ library for image processing. Prior to commit 4ca26bc, there is an integer overflow vulnerability in the W*H*D size computation inside _load_pnm() that can bypass the memory allocation guard. A crafted PNM/PGM/PPM file with large dimension values causes the overflow to wrap around, allocating an undersized buffer and potentially triggering a heap buffer overflow. Any application using CImg to load untrusted image files is affected. This issue has been patched via commit 4ca26bc."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 6.1,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-190",
                  "description": "CWE-190: Integer Overflow or Wraparound",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-05-04T17:51:38.144Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/GreycLab/CImg/security/advisories/GHSA-4663-63fm-44gc",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/GreycLab/CImg/security/advisories/GHSA-4663-63fm-44gc"
            },
            {
              "name": "https://github.com/GreycLab/CImg/issues/478",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/GreycLab/CImg/issues/478"
            },
            {
              "name": "https://github.com/GreycLab/CImg/commit/4ca26bce4d8c61fcd1507d5f9401b9fb1222c27d",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/GreycLab/CImg/commit/4ca26bce4d8c61fcd1507d5f9401b9fb1222c27d"
            },
            {
              "name": "https://github.com/GreycLab/CImg/releases/tag/v.3.7.5",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/GreycLab/CImg/releases/tag/v.3.7.5"
            }
          ],
          "source": {
            "advisory": "GHSA-4663-63fm-44gc",
            "discovery": "UNKNOWN"
          },
          "title": "CImg Library: Integer overflow in PNM size check bypasses memory guard (_load_pnm)"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-42144",
        "datePublished": "2026-05-04T17:51:38.144Z",
        "dateReserved": "2026-04-24T17:15:21.834Z",
        "dateUpdated": "2026-05-05T14:14:38.921Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }