Skip to main content
EPSS 0.4%top 64%

In the Linux kernel, the following vulnerability has been resolved: sctp: Fix MAC comparison to be constant-time To prevent timing attacks, MACs… (CVE-2025-40204)

0
High
Published: 11/13/2025 (11/13/2025, 00:30:18 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel SCTP implementation involved a non-constant-time comparison of MACs, which could allow timing attacks. The issue has been resolved by updating the MAC comparison to use a constant-time helper function to prevent such attacks.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 16:53:45 UTC

Technical Analysis

The Linux kernel SCTP subsystem had a vulnerability (CVE-2025-40204) where Message Authentication Codes (MACs) were compared in a way that was not constant-time, potentially enabling timing attacks. This flaw was addressed by modifying the code to use an appropriate constant-time comparison helper function, mitigating the timing attack vector.

Potential Impact

Successful exploitation could allow an attacker to infer MAC values through timing analysis, potentially compromising message integrity and authentication. The CVSS vector indicates network attack complexity is high, no privileges or user interaction required, and the impact on confidentiality, integrity, and availability is high.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to address this vulnerability by using constant-time MAC comparison. Users should apply the official kernel updates that include this fix. Since this is a kernel-level issue, updating to the patched kernel version is the recommended remediation.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-4xv3-7wp7-qjp7
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40204"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d69c2644c7f847a592

Added to database: 07/30/2026, 15:50:46 UTC

Last enriched: 07/30/2026, 16:53:45 UTC

Last updated: 09/10/2026, 19:38:44 UTC

Views: 11

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