CVE-2023-24056
published medium CVSS 3.1 · 5.5pkgconf: unbounded string expansion due to incorrect checks may result in buffer overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-159 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | pkgconf | Fixed | 1.9.4-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libpkgconf-develaarch64 | Advisory build | 1.5.3-bp153.2.3.1 | OPENSUSE-SU-2023:0043-1 |
| Amazon Linux | AL2023 | pkgconfaarch64 | Listed in advisory | Not stated | ALAS2023-2023-159 |
| Alpine Linux | v3.14 | pkgconf | Fixed | 1.7.4-r1 | Package fix record |
| Alpine Linux | v3.15 | pkgconf | Fixed | 1.8.1-r0 | Package fix record |
Show 58 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.16 | pkgconf | Fixed | 1.8.1-r0 | Package fix record |
| Alpine Linux | v3.17 | pkgconf | Fixed | 1.9.4-r0 | Package fix record |
| Alpine Linux | v3.18 | pkgconf | Fixed | 1.9.4-r0 | Package fix record |
| Alpine Linux | v3.19 | pkgconf | Fixed | 1.9.4-r0 | Package fix record |
| Alpine Linux | v3.20 | pkgconf | Fixed | 1.9.4-r0 | Package fix record |
| Alpine Linux | v3.21 | pkgconf | Fixed | 1.9.4-r0 | Package fix record |
| Alpine Linux | v3.22 | pkgconf | Fixed | 1.9.4-r0 | Package fix record |
| Alpine Linux | v3.23 | pkgconf | Fixed | 1.9.4-r0 | Package fix record |
| Alpine Linux | v3.24 | pkgconf | Fixed | 1.9.4-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libpkgconf-develi586 | Advisory build | 1.5.3-bp153.2.3.1 | OPENSUSE-SU-2023:0043-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libpkgconf-develppc64le | Advisory build | 1.5.3-bp153.2.3.1 | OPENSUSE-SU-2023:0043-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libpkgconf-devels390x | Advisory build | 1.5.3-bp153.2.3.1 | OPENSUSE-SU-2023:0043-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libpkgconf-develx86_64 | Advisory build | 1.5.3-bp153.2.3.1 | OPENSUSE-SU-2023:0043-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libpkgconf3aarch64 | Advisory build | 1.5.3-bp153.2.3.1 | OPENSUSE-SU-2023:0043-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libpkgconf3i586 | Advisory build | 1.5.3-bp153.2.3.1 | OPENSUSE-SU-2023:0043-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libpkgconf3ppc64le | Advisory build | 1.5.3-bp153.2.3.1 | OPENSUSE-SU-2023:0043-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libpkgconf3s390x | Advisory build | 1.5.3-bp153.2.3.1 | OPENSUSE-SU-2023:0043-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libpkgconf3x86_64 | Advisory build | 1.5.3-bp153.2.3.1 | OPENSUSE-SU-2023:0043-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | pkgconfaarch64 | Advisory build | 1.5.3-bp153.2.3.1 | OPENSUSE-SU-2023:0043-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | pkgconfi586 | Advisory build | 1.5.3-bp153.2.3.1 | OPENSUSE-SU-2023:0043-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | pkgconfppc64le | Advisory build | 1.5.3-bp153.2.3.1 | OPENSUSE-SU-2023:0043-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | pkgconfs390x | Advisory build | 1.5.3-bp153.2.3.1 | OPENSUSE-SU-2023:0043-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | pkgconfx86_64 | Advisory build | 1.5.3-bp153.2.3.1 | OPENSUSE-SU-2023:0043-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libpkgconf-develaarch64 | Advisory build | 1.8.0-150400.3.3.1 | SUSE-SU-2023:0611-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libpkgconf-develppc64le | Advisory build | 1.8.0-150400.3.3.1 | SUSE-SU-2023:0611-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libpkgconf-devels390x | Advisory build | 1.8.0-150400.3.3.1 | SUSE-SU-2023:0611-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libpkgconf-develx86_64 | Advisory build | 1.8.0-150400.3.3.1 | SUSE-SU-2023:0611-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libpkgconf3aarch64 | Advisory build | 1.8.0-150400.3.3.1 | SUSE-SU-2023:0611-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libpkgconf3ppc64le | Advisory build | 1.8.0-150400.3.3.1 | SUSE-SU-2023:0611-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libpkgconf3s390x | Advisory build | 1.8.0-150400.3.3.1 | SUSE-SU-2023:0611-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libpkgconf3x86_64 | Advisory build | 1.8.0-150400.3.3.1 | SUSE-SU-2023:0611-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | pkgconfaarch64 | Advisory build | 1.8.0-150400.3.3.1 | SUSE-SU-2023:0611-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | pkgconfppc64le | Advisory build | 1.8.0-150400.3.3.1 | SUSE-SU-2023:0611-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | pkgconfs390x | Advisory build | 1.8.0-150400.3.3.1 | SUSE-SU-2023:0611-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | pkgconfx86_64 | Advisory build | 1.8.0-150400.3.3.1 | SUSE-SU-2023:0611-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpkgconf-develaarch64 | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpkgconf-develppc64le | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpkgconf-devels390x | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpkgconf-develx86_64 | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpkgconf3aarch64 | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpkgconf3ppc64le | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpkgconf3s390x | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpkgconf3x86_64 | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pkgconfaarch64 | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pkgconfppc64le | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pkgconfs390x | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pkgconfx86_64 | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pkgconf-m4aarch64 | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pkgconf-m4ppc64le | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pkgconf-m4s390x | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pkgconf-m4x86_64 | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pkgconf-pkg-configaarch64 | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pkgconf-pkg-configppc64le | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pkgconf-pkg-configs390x | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pkgconf-pkg-configx86_64 | Advisory build | 1.8.0-2.1 | OPENSUSE-SU-2024:12653-1 |
| Amazon Linux | AL2023 | pkgconfnoarch | Listed in advisory | Not stated | ALAS2023-2023-159 |
| Amazon Linux | AL2023 | pkgconfsrc | Listed in advisory | Not stated | ALAS2023-2023-159 |
| Amazon Linux | AL2023 | pkgconfx86_64 | Listed in advisory | Not stated | ALAS2023-2023-159 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-787 CWE-787 Out-of-bounds Write
References
3Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6fcaf08b01d2bfbf8a18a7f398466da481f5c160aeb23e9723195dca25f11cc9
- Ingested
- 23 Sep 2026, 08:06:35 UTC
- Source record
- Official CVE record