CVEfocus › CVE database › CVE-2023-24056

CVE-2023-24056

CVSS 5.5 MediumEPSS 0.5% (higher than 38% of CVEs)Published 2023-01-22Updated 2025-04-02Assigner: mitre

In pkgconf through 1.9.3, variable duplication can cause unbounded string expansion due to incorrect checks in libpkgconf/tuple.c:pkgconf_tuple_parse. For example, a .pc file containing a few hundred bytes can expand to one billion bytes.

CWE-787

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

14Fixed
12Fix pending
1Under investigation
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04pkgconfNot affected
vulnerable_code_not_present
Ubuntu 25.10pkgconfNot affected
vulnerable_code_not_present
Ubuntu 24.04pkgconfNot affected
vulnerable_code_not_present
Ubuntu 22.04pkgconfUnder investigationUBUNTU-CVE-2023-24056
Ubuntu 20.04pkgconfFix pendingUBUNTU-CVE-2023-24056
Ubuntu 18.04pkgconfFix pendingUBUNTU-CVE-2023-24056
Ubuntu 16.04pkgconfFix pendingUBUNTU-CVE-2023-24056
Ubuntu 14.04pkgconfFix pending
Debian 14pkgconfFixed1.8.1-1DEBIAN-CVE-2023-24056
Debian 13pkgconfFixed1.8.1-1DEBIAN-CVE-2023-24056
Debian 12pkgconfFixed1.8.1-1DEBIAN-CVE-2023-24056
Red Hat Enterprise Linux 9libpkgconfFix pending
Fix deferred
Red Hat Enterprise Linux 9pkgconfFix pending
Fix deferred
Red Hat Enterprise Linux 9pkgconf-m4Fix pending
Fix deferred
Red Hat Enterprise Linux 9pkgconf-pkg-configFix pending
Fix deferred
Red Hat Enterprise Linux 8libpkgconfFix pending
Fix deferred
Red Hat Enterprise Linux 8pkgconfFix pending
Fix deferred
Red Hat Enterprise Linux 8pkgconf-m4Fix pending
Fix deferred
Red Hat Enterprise Linux 8pkgconf-pkg-configFix pending
Fix deferred
Alpine Linux 3.24pkgconfFixed1.9.4-r0ALPINE-CVE-2023-24056
Alpine Linux 3.23pkgconfFixed1.9.4-r0ALPINE-CVE-2023-24056
Alpine Linux 3.22pkgconfFixed1.9.4-r0ALPINE-CVE-2023-24056
Alpine Linux 3.21pkgconfFixed1.9.4-r0ALPINE-CVE-2023-24056
Alpine Linux 3.20pkgconfFixed1.9.4-r0ALPINE-CVE-2023-24056
Alpine Linux 3.19pkgconfFixed1.9.4-r0ALPINE-CVE-2023-24056
Alpine Linux 3.18pkgconfFixed1.9.4-r0ALPINE-CVE-2023-24056
Alpine Linux 3.17pkgconfFixed1.9.4-r0ALPINE-CVE-2023-24056
Alpine Linux 3.16pkgconfFixed1.8.1-r0ALPINE-CVE-2023-24056
Alpine Linux 3.15pkgconfFixed1.8.1-r0ALPINE-CVE-2023-24056
Alpine Linux 3.14pkgconfFixed1.7.4-r1ALPINE-CVE-2023-24056

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.