CVE-2012-2673: Boehm-Demers-Weiser Garbage Collector

Medium severity, CVSS 5.0. EPSS: 2.8% chance of exploitation in the next 30 days.

Multiple integer overflows in the (1) GC_generic_malloc and (2) calloc functions in malloc.c, and the (3) GC_generic_malloc_ignore_off_page function in mallocx.c in Boehm-Demers-Weiser GC (libgc) before 7.2 make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size value, which causes less memory to be allocated than expected.

Affected products

  • Boehm-Demers-Weiser Garbage Collector: up to and including 7.2; version 1.3 only; version 1.4 only; version 1.5 only; version 1.8 only; version 1.9 only; …

Published 2012-07-25. Last modified 2026-06-16.