CVE Database›Document archive›CVE-2023-24056

CVE-2023-24056

pkgconf: unbounded string expansion due to incorrect checks may result in buffer overflow

Loading…

Severity

Low

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · January 21, 2023

Updated · November 21, 2025

Description

A flaw was found in pkgconf, where a variable duplication can cause unbounded string expansion due to incorrect checks in libpkgconf/tuple.c:pkgconf_tuple_parse. This issue may lead to a buffer overflow, which can crash the software.

Statement

pkgconf is a program which helps to configure compiler and linker flags for development libraries, & this security flaw can only crash while compiling/building a package in a development environment, hence that provides a very minimal Impact. Also Red Hat Enterprise Linux 8 and 9 provide the stack protector in gcc, FORTIFY_SOURCE in glibc to protect against heap based overflows.

  • https://access.redhat.com/solutions/769783

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer