BreachSpiderVerified, not vibes

CVE-2025-40304 in Count products

High 7.8

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 scr...

Affects 0 products from 3 vendors. Facts below cite their sources.

CVSS 3.17.8
EPSS0.2%
EPSS percentile9th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Count — —
Kernel — —
Linux — —
Linux Linux Firmware 2.6.12

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-40304
BreachSpider IDBS-2025-GLOBAL-259087-I
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2025-12-08
Last modified2026-10-14
SourceNVD

Analysis AI-written, not human-reviewed

A vulnerability in the Linux kernel's fbdev module could allow writes past framebuffer boundaries when rendering text near screen edges, potentially leading to memory corruption or system instability.

An attacker with local access could exploit this vulnerability by crafting specific text rendering operations that exceed the framebuffer boundaries, leading to unauthorized memory access or system crashes.

Questions

What is CVE-2025-40304?

A vulnerability in the Linux kernel's fbdev module could allow writes past framebuffer boundaries when rendering text near screen edges, potentially leading to memory corruption or system instability.

What is the CVSS score for CVE-2025-40304?

CVE-2025-40304 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.

Is CVE-2025-40304 actively exploited?

No confirmed active exploitation of CVE-2025-40304 as of 2026-10-15.

How do I remediate CVE-2025-40304?

Priority: MEDIUM.

What systems are affected by CVE-2025-40304?

CVE-2025-40304 affects Count; Kernel; Linux.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Count","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-14.