CVE-2023-39976 Memory corruption in n/a

Critical 9.8 Published Updated

A buffer overflow in libqb allows attackers to execute arbitrary code or cause denial of service via long log messages.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-39976?

CVE-2023-39976 is a critical memory corruption vulnerability in n/a, published on 8 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

log_blackbox.c in libqb before 2.0.8 allows a buffer overflow via long log messages because the header size is not considered.

Weakness: CWE-120

Which versions are affected by CVE-2023-39976?

It affects 1 product.

Linux distribution packages (40)
libqb AlmaLinux:9All versions2.0.6-4.el9_3
libqb-devel AlmaLinux:9All versions2.0.6-4.el9_3
doxygen2man-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.0.6-4.el9_3
libqb Red Hat:enterprise_linux:9::appstreamAll versions0:2.0.6-4.el9_3
libqb-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.0.6-4.el9_3
libqb-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:2.0.6-4.el9_3
libqb-tests-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.0.6-4.el9_3
doxygen2man-debuginfo Red Hat:enterprise_linux:9::highavailabilityAll versions0:2.0.6-4.el9_3
libqb-debuginfo Red Hat:enterprise_linux:9::highavailabilityAll versions0:2.0.6-4.el9_3
libqb-debugsource Red Hat:enterprise_linux:9::highavailabilityAll versions0:2.0.6-4.el9_3
libqb-devel Red Hat:enterprise_linux:9::highavailabilityAll versions0:2.0.6-4.el9_3
libqb-tests-debuginfo Red Hat:enterprise_linux:9::highavailabilityAll versions0:2.0.6-4.el9_3
doxygen2man-debuginfo Red Hat:enterprise_linux:9::resilientstorageAll versions0:2.0.6-4.el9_3
libqb-debuginfo Red Hat:enterprise_linux:9::resilientstorageAll versions0:2.0.6-4.el9_3
libqb-debugsource Red Hat:enterprise_linux:9::resilientstorageAll versions0:2.0.6-4.el9_3
libqb-devel Red Hat:enterprise_linux:9::resilientstorageAll versions0:2.0.6-4.el9_3
libqb-tests-debuginfo Red Hat:enterprise_linux:9::resilientstorageAll versions0:2.0.6-4.el9_3
doxygen2man-debuginfo Red Hat:rhel_eus:9.0::appstreamAll versions0:2.0.3-12.el9_0
libqb Red Hat:rhel_eus:9.0::appstreamAll versions0:2.0.3-12.el9_0
libqb-debuginfo Red Hat:rhel_eus:9.0::appstreamAll versions0:2.0.3-12.el9_0
libqb-debugsource Red Hat:rhel_eus:9.0::appstreamAll versions0:2.0.3-12.el9_0
libqb-tests-debuginfo Red Hat:rhel_eus:9.0::appstreamAll versions0:2.0.3-12.el9_0
doxygen2man-debuginfo Red Hat:rhel_eus:9.0::highavailabilityAll versions0:2.0.3-12.el9_0
libqb-debuginfo Red Hat:rhel_eus:9.0::highavailabilityAll versions0:2.0.3-12.el9_0
libqb-debugsource Red Hat:rhel_eus:9.0::highavailabilityAll versions0:2.0.3-12.el9_0
libqb-devel Red Hat:rhel_eus:9.0::highavailabilityAll versions0:2.0.3-12.el9_0
libqb-tests-debuginfo Red Hat:rhel_eus:9.0::highavailabilityAll versions0:2.0.3-12.el9_0
doxygen2man-debuginfo Red Hat:rhel_eus:9.0::resilientstorageAll versions0:2.0.3-12.el9_0
libqb-debuginfo Red Hat:rhel_eus:9.0::resilientstorageAll versions0:2.0.3-12.el9_0
libqb-debugsource Red Hat:rhel_eus:9.0::resilientstorageAll versions0:2.0.3-12.el9_0
libqb-devel Red Hat:rhel_eus:9.0::resilientstorageAll versions0:2.0.3-12.el9_0
libqb-tests-debuginfo Red Hat:rhel_eus:9.0::resilientstorageAll versions0:2.0.3-12.el9_0
doxygen2man-debuginfo Red Hat:rhel_eus:9.2::appstreamAll versions0:2.0.6-3.el9_2
libqb Red Hat:rhel_eus:9.2::appstreamAll versions0:2.0.6-3.el9_2
libqb-debuginfo Red Hat:rhel_eus:9.2::appstreamAll versions0:2.0.6-3.el9_2
libqb-debugsource Red Hat:rhel_eus:9.2::appstreamAll versions0:2.0.6-3.el9_2
libqb-tests-debuginfo Red Hat:rhel_eus:9.2::appstreamAll versions0:2.0.6-3.el9_2
doxygen2man-debuginfo Red Hat:rhel_eus:9.2::highavailabilityAll versions0:2.0.6-3.el9_2
libqb-debuginfo Red Hat:rhel_eus:9.2::highavailabilityAll versions0:2.0.6-3.el9_2
libqb-debugsource Red Hat:rhel_eus:9.2::highavailabilityAll versions0:2.0.6-3.el9_2

Products include Clusterlabs Libqb.

How do I fix CVE-2023-39976?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-39976 being exploited?

There is no known exploitation of CVE-2023-39976 in the wild and no public exploit code.

Sources

Also known as ALSA-2023:6578, AZL-27859, AZL-36957, CLSA-2025-1762182516, CLSA-2026-1791385137, DEBIAN-CVE-2023-39976 and 12 more.

Is CVE-2023-39976 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free