Buffer overflow in Pkgconf
CVE-2023-24056
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.006 (44.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 45th percentile — 44.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.006 · change: +0.000
Affected products
Weakness classification (CWE)
References
- nullprogram.com/blog/2023/01/18/ (Exploit, Third Party Advisory)
- gitea.treehouse.systems/ariadne/pkgconf/commit/628b2b2bafa5d3a2017193ddf375093e… (Patch, Third Party Advisory)
- github.com/pkgconf/pkgconf/tags (Third Party Advisory, Release Notes)
Frequently asked questions
- What is CVE-2023-24056?
- CVE-2023-24056 is a medium-severity vulnerability in Pkgconf, classified under Out-of-bounds Write. CVSS score: 5.5/10. Published 2023-01-22.
- How severe is CVE-2023-24056?
- Medium severity. CVSS v3 base score is 5.5 out of 10.