Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-40304

7.8 · HIGH
Published Dec 8, 2025 EPSS 0.14% (4th pctl)

Overview

CVE-2025-40304 is a high-severity vulnerability. It was published on December 8, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

fbdev: Add bounds checking in bit_putcs to fix vmalloc-out-of-bounds

Add bounds checking to prevent writes past framebuffer boundaries when

rendering text near screen edges. Return early if the Y position is off-screen

and clip image height to screen boundary. Break from the rendering loop if the

X position is off-screen. When clipping image width to fit the screen, update

the character count to match the clipped width to prevent buffer size

mismatches.

Without the character count update, bit_putcs_aligned and bit_putcs_unaligned

receive mismatched parameters where the buffer is allocated for the clipped

width but cnt reflects the original larger count, causing out-of-bounds writes.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently Asked Questions

What is CVE-2025-40304?

CVE-2025-40304 is a high-severity vulnerability. It was published on December 8, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-40304?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-40304?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-40304?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-40304 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.