CVE-2025-8058

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-8058
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-8058.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-8058
Downstream
Related
Published
2025-07-23T20:15:27Z
Modified
2025-09-06T13:01:48Z
Summary
[none]
Details

The regcomp function in the GNU C library version from 2.4 to 2.41 is subject to a double free if some previous allocation fails. It can be accomplished either by a malloc failure or by using an interposed malloc that injects random malloc failures. The double free can allow buffer manipulation depending of how the regex is constructed. This issue affects all architectures and ABIs supported by the GNU C library.

References

Affected packages