Buffer overflow in GNU Libopts
CVE-2025-8746
A vulnerability, which was classified as problematic, was found in GNU libopts up to 27.6. Affected is the function __strstr_sse2. The manipulation leads to memory corruption. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used. This issue was initially reported to the tcpreplay project, but the code maintainer explains, that this "bug appears to be in libopts which is an external library." This vulnerability only affects products that are no longer supported by the maintainer.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.003, 17.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Libopts — versions 27.0, 27.1, 27.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- VDB-319242 | GNU libopts __strstr_sse2 memory corruption (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-319242 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #623632 | tcpreplay tcpliveplay tcpreplay version 6fcbf03 (the newest master in https://github.com/appneta/tcpreplay) Segmentation Fault (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/appneta/tcpreplay/issues/957 (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
- github.com/appneta/tcpreplay/issues/957 (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
- drive.google.com/file/d/1yjKOHxvL_9xExy4QUb5x43dxci1x59ts/view (Exploit, exploit)
- www.gnu.org/ (Product, product)