CVE-2025-61731: Red Hat Arbitrary file write via malicious pkg-config directive
This Red Hat advisory covers CVE-2025-61731 in Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 8.2 Advanced Update Support and Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support.
Am I affected by CVE-2025-61731?
You are affected if you run Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 8.2 Advanced Update Support, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected |
|---|
| openshift4/ose-csi-livenessprobe-rhel8:1776999947 |
| openshift4/ose-csi-external-snapshotter-rhel8:1776999951 |
| openshift4/ose-prometheus-node-exporter-rhel9:1774294099 |
| openshift4/oc-mirror-plugin-rhel9:1776961082 |
| openshift4/ose-azure-file-csi-driver-operator-rhel9:1773363768 |
| openshift4/ose-multus-route-override-cni-rhel8:1777001628 |
| openshift4/ose-tests:1777002345 |
| openshift4/ose-hypershift-rhel8:1777001784 |
| openshift4/ose-azure-disk-csi-driver-rhel9-operator:1779250039 |
| openshift4/ose-cluster-openshift-apiserver-rhel9-operator:1772166718 |
| openshift4/ose-hyperkube-rhel9:1776976992 |
| openshift4/ose-alibaba-machine-controllers-rhel8:1777001647 |
Fixed releases listed by the vendor: RHSA-2026:5948
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- High, CVSS 8.6
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H· base score 7.8, scored by CISA-ADPAttack vector: local. Attack complexity: low. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- EPSS
- 0.59% chance of exploitation in the next 30 days (48th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Listed by VulniPulse
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
Description
Arbitrary file write via malicious pkg-config directive. Red Hat rates this important (CVSS 8.6).
Weakness: CWE-88.
Affected package(s): openshift4/ose-csi-livenessprobe-rhel8:1776999947, openshift4/ose-csi-external-snapshotter-rhel8:1776999951, openshift4/ose-prometheus-node-exporter-rhel9:1774294099, openshift4/oc-mirror-plugin-rhel9:1776961082, openshift4/ose-azure-file-csi-driver-operator-rhel9:1773363768, openshift4/ose-multus-route-override-cni-rhel8:1777001628.
Resolved in Red Hat advisory RHSA-2026:5948 — update the affected packages (`sudo dnf update`).
Affected products named by the advisory: Red Hat Enterprise Linux 10.0 Extended Update Support; Red Hat Enterprise Linux 8.2 Advanced Update Support; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support; Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On; and 24 more.
Text from the source record.
How to fix CVE-2025-61731
Upgrade to a fixed release named by Red Hat:
- RHSA-2026:5948
Vendor guidance
- Update the affected package(s) to the fixed version shipped in RHSA-2026:5948 (`sudo dnf update` / `yum update`).
CVE-2025-61731 in other vendors' advisories
- NetApp: NTAP-20260703-0006
- Splunk: SVD-2026-1104
- Splunk: SVD-2026-1009
- Veeam: KB4825
CVE-2025-61731 questions
Is CVE-2025-61731 being exploited?
CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Red Hat advisory does not report exploitation. That is not proof it is unexploited.
Am I affected by CVE-2025-61731?
You are affected if you run Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 8.2 Advanced Update Support, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.
How do I fix CVE-2025-61731?
Upgrade to a fixed release Red Hat lists for your version: RHSA-2026:5948. The advisory's own guidance is above.
How likely is CVE-2025-61731 to be exploited?
FIRST's EPSS model gives it a 0.59% chance of exploitation in the next 30 days (48th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.
How serious is CVE-2025-61731?
Red Hat rates it high, CVSS 8.6 out of 10.
More Red Hat Linux advisories
CVE-2026-46300May 13, 2026net: skbuff: preserve shared-frag marker during coalescingCVE-2026-31431Apr 22, 2026algif_aead - Revert to operating out-of-placeCVE-2026-111497Oct 22, 2026Out-of-Bounds Write in Google Brotli DecoderCVE-2025-31277Mar 18, 2026Processing maliciously crafted web content may lead to memory corruptionCVE-2026-109619Oct 21, 2026fatal error handling retains stale request state leading to use-after-freeCVE-2026-109618Oct 21, 2026OOM bailout during request parsing leads to memory corruption and RCE
Get an email when Red Hat publishes the next one.
See Red Hat's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.