cve.bz

CVE-2025-8746 gnu libopts: Out-of-bounds Write

1.9 lowExploit referenceEPSS 0.3%

Low (1.9) in gnu libopts. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

1.9 low
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-08-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-8746 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-8746?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-8746?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-8746 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:liboptsthrough 27.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13autogenno fix listedDEBIAN-CVE-2025-8746
Debian14autogen1:5.18.16-8DEBIAN-CVE-2025-8746
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 6 moreautogenno fix listedUBUNTU-CVE-2025-8746
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0autogen5.18.16-160000.3.1SUSE-SU-2026:20590-1
openSUSELeap 16.0autogen5.18.16-160000.3.1openSUSE-SU-2026:20270-1
openSUSELeap 16.0tcpreplay4.5.2-bp160.1.1openSUSE-SU-2025:20119-1
openSUSETumbleweedautogen5.18.16-8.1openSUSE-SU-2025:15557-1
openSUSETumbleweedtcpreplay4.5.1-2.1openSUSE-SU-2025:15570-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10sharutilsFix deferred
Red Hat Enterprise Linux 7sharutilsFix deferred
Red Hat Enterprise Linux 8sharutilsFix deferred
Red Hat Enterprise Linux 9sharutilsFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-8746.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON