Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-4878: Use After Free

0
Low
VulnerabilityCVE-2025-4878cvecve-2025-4878
Published: Tue Jul 22 2025 (07/22/2025, 14:17:03 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Enterprise Linux 10

Description

A vulnerability was found in libssh, where an uninitialized variable exists under certain conditions in the privatekey_from_file() function. This flaw can be triggered if the file specified by the filename doesn't exist and may lead to possible signing failures or heap corruption.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/07/2026, 01:48:12 UTC

Technical Analysis

This vulnerability in libssh arises from an uninitialized variable in the privatekey_from_file() function when the filename parameter points to a non-existent file. The flaw can lead to possible signing failures or heap corruption. The CVSS 3.1 score is 3.6, reflecting low impact with local attack vector, high attack complexity, low privileges required, no user interaction, and limited confidentiality and integrity impact. The vendor advisory from Red Hat does not explicitly state patch availability or mitigation steps.

Potential Impact

The impact includes potential signing failures and heap corruption, which could affect the stability or reliability of applications relying on libssh for private key operations. Confidentiality and integrity impacts are rated low, and availability is not affected. There are no known exploits in the wild, reducing immediate risk.

Mitigation Recommendations

Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2025-4878 for current remediation guidance. Until an official fix is confirmed, avoid scenarios where privatekey_from_file() is called with non-existent filenames or ensure input validation to prevent triggering the flaw.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
redhat
Date Reserved
2025-05-16T22:28:46.782Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2025-4878","vendor":"Red Hat"}]

Threat ID: 687fa0aca83201eaac1ccc8a

Added to database: 7/22/2025, 2:31:08 PM

Last enriched: 5/7/2026, 1:48:12 AM

Last updated: 5/9/2026, 4:56:37 AM

Views: 137

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses