CVE-2023-24056

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

Published Jan 22, 2023 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-28120 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00037}

epss

{'score': 0.00038}

Type Values Removed Values Added
Metrics epss

{'score': 0.00021}

epss

{'score': 0.00037}

Type Values Removed Values Added
Weaknesses CWE-787
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 2, 2025, 3:45 PM
Reserved
Jan 22, 2023, 12:00 AM
Status
Modified
Published
Jan 22, 2023, 4:15 AM
Modified
Jun 17, 2026, 5:38 AM
Severity
Low
Public date
Jan 21, 2023, 12:00 AM