{"id":"CVE-2023-39976","details":"log_blackbox.c in libqb before 2.0.8 allows a buffer overflow via long log messages because the header size is not considered.","modified":"2026-04-16T00:01:03.112605096Z","published":"2023-08-08T06:15:46.590Z","related":["ALSA-2023:6578","SUSE-SU-2023:3727-1","SUSE-SU-2023:3728-1","SUSE-SU-2023:3897-1","SUSE-SU-2023:3944-1","openSUSE-SU-2024:13450-1"],"references":[{"type":"WEB","url":"https://github.com/ClusterLabs/libqb/compare/v2.0.7...v2.0.8"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KECNF7LFBPE57XSBT6EM7ACVMIBP63WH/"},{"type":"FIX","url":"https://github.com/ClusterLabs/libqb/commit/1bbaa929b77113532785c408dd1b41cd0521ffc8"},{"type":"FIX","url":"https://github.com/ClusterLabs/libqb/pull/490"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/clusterlabs/libqb","events":[{"introduced":"0"},{"fixed":"002171bbcf4bc4728da56c1538afd9e9d814ecaf"},{"fixed":"1bbaa929b77113532785c408dd1b41cd0521ffc8"}],"database_specific":{"cpe":"cpe:2.3:a:clusterlabs:libqb:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.0.8"}],"source":["CPE_FIELD","REFERENCES"]}}],"versions":["1.9.0","libqb-0.0.0","libqb-0.1.0","v0.1.0","v0.10.0","v0.10.1","v0.11.0","v0.11.1","v0.12.0","v0.13.0","v0.14.0","v0.14.1","v0.14.2","v0.14.3","v0.14.4","v0.15.0","v0.16.0","v0.17.0","v0.17.0.rc1","v0.17.1","v0.17.1-rc1","v0.17.2","v0.2.0","v0.3.0","v0.4.0","v0.4.1","v0.5.0","v0.5.1","v0.7.0","v0.8.0","v0.8.1","v0.9.0","v1.0","v1.0.1","v1.0.2","v1.0.3","v1.0rc1","v1.0rc2","v1.0rc3","v1.0rc4","v1.9.0","v1.9.1","v2.0.0","v2.0.1","v2.0.2","v2.0.3","v2.0.4","v2.0.5","v2.0.6","v2.0.7"],"database_specific":{"vanir_signatures_modified":"2026-04-12T08:01:15Z","source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-39976.json","vanir_signatures":[{"id":"CVE-2023-39976-c6b71c89","target":{"file":"lib/log_blackbox.c"},"deprecated":false,"signature_version":"v1","source":"https://github.com/clusterlabs/libqb/commit/1bbaa929b77113532785c408dd1b41cd0521ffc8","digest":{"line_hashes":["234310116874441598169012739281943531554","88767074367043050548443721587077693599","281001159218331700925163265004941775733","263366324407121559883848862156710781083","57683120494871408456411132952730974543"],"threshold":0.9},"signature_type":"Line"},{"id":"CVE-2023-39976-e46cc8c4","target":{"function":"_blackbox_vlogger","file":"lib/log_blackbox.c"},"deprecated":false,"signature_version":"v1","source":"https://github.com/clusterlabs/libqb/commit/1bbaa929b77113532785c408dd1b41cd0521ffc8","digest":{"function_hash":"144833620041746192361028286524335023369","length":1476},"signature_type":"Function"},{"id":"CVE-2023-39976-e7ec4eb4","target":{"function":"START_TEST","file":"tests/check_log.c"},"signature_version":"v1","deprecated":false,"source":"https://github.com/clusterlabs/libqb/commit/1bbaa929b77113532785c408dd1b41cd0521ffc8","digest":{"function_hash":"14394832875997190676591766158283567814","length":878},"signature_type":"Function"},{"id":"CVE-2023-39976-f763f945","target":{"file":"tests/check_log.c"},"deprecated":false,"signature_version":"v1","source":"https://github.com/clusterlabs/libqb/commit/1bbaa929b77113532785c408dd1b41cd0521ffc8","digest":{"line_hashes":["220261002650673137112960086698603237908","291825239214008548035429337321196903562","181251568651179490113890241814114365331","241978366710158549109347642762512271078","38907448786194894788171967354211672238"],"threshold":0.9},"signature_type":"Line"}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}