5.5medium
In pkgconf through 1.9.3, variable duplication can cause unbounded string expansion due to incorrect checks in libpkgconf/tuple.c:pkgconftu…
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.58% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| pkgconf pkgconf | up to 1.9.3 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En pkgconf hasta 1.9.3, la duplicación de variables puede causar una expansión ilimitada de cadenas debido a comprobaciones incorrectas en libpkgconf/tuple.c:pkgconf_tuple_parse. Por ejemplo, un archivo .pc que contiene unos pocos cientos de bytes puede expandirse hasta mil millones de bytes.
References
| https://nullprogram.com/blog/2023/01/18/ | exploit, third-party-advisory | |
| https://gitea.treehouse.systems/ariadne/pkgconf/commit/628b2b2bafa5d3a2017193ddf375093e70666059 | patch, third-party-advisory | |
| https://github.com/pkgconf/pkgconf/tags | release-notes, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-24056 changed 2025-04-02 | CVE Terms of Use |
| NVD | CVE-2023-24056 changed 2026-06-17 | Public domain |