Skip to content
Fencer Vulns
medium 4.6

CVE-2007-3105 json

Stack-based buffer overflow in the random number generator (RNG) implementation in the Linux kernel before 2.6.22 might allow local root us…

published 2007-07-27 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-3097

cvss
4.6
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 39%
public exploits
0
none known

Summary

Stack-based buffer overflow in the random number generator (RNG) implementation in the Linux kernel before 2.6.22 might allow local root users to cause a denial of service or gain privileges by setting the default wakeup threshold to a value greater than the output pool size, which triggers writing random numbers to the stack by the pool transfer function involving "bound check ordering". NOTE: this issue might only cross privilege boundaries in environments that have granular assignment of privileges for root.

Patch / fix

  • kernel RHEL 5 2.6.18-8.1.15.el5
  • kernel-PAE RHEL 5 2.6.18-8.1.15.el5
  • kernel-xen RHEL 5 2.6.18-8.1.15.el5
  • kernel-kdump RHEL 5 2.6.18-8.1.15.el5
  • kernel-debuginfo-common RHEL 5 2.6.18-8.1.15.el5
  • kernel RHEL 4 2.6.9-55.0.12.EL
  • kernel-smp RHEL 4 2.6.9-55.0.12.EL
  • kernel-xenU RHEL 4 2.6.9-55.0.12.EL

red hat advisories RHSA-2007:0940RHSA-2007:0939

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2007-3105 updated

Bound check ordering issue in random driver

  • Red Hat Enterprise Linux (v. 5 server) kernel 2.6.18-8.1.15.el5, kernel-PAE 2.6.18-8.1.15.el5, kernel-xen 2.6.18-8.1.15.el5, kernel-kdump 2.6.18-8.1.15.el5, kernel-debuginfo-common 2.6.18-8.1.15.el5
    fixed: vendor fix RHSA-2007:0940
  • Red Hat Enterprise Linux AS version 4 kernel 2.6.9-55.0.12.EL, kernel-smp 2.6.9-55.0.12.EL, kernel-xenU 2.6.9-55.0.12.EL, kernel-hugemem 2.6.9-55.0.12.EL, kernel-largesmp 2.6.9-55.0.12.EL
    fixed: vendor fix RHSA-2007:0939
  • Red Hat Enterprise Linux Desktop (v. 5 client) kernel 2.6.18-8.1.15.el5, kernel-PAE 2.6.18-8.1.15.el5, kernel-xen 2.6.18-8.1.15.el5, kernel-kdump 2.6.18-8.1.15.el5, kernel-debuginfo-common 2.6.18-8.1.15.el5
    fixed: vendor fix RHSA-2007:0940
  • Red Hat Enterprise Linux Desktop version 4 kernel 2.6.9-55.0.12.EL, kernel-smp 2.6.9-55.0.12.EL, kernel-xenU 2.6.9-55.0.12.EL, kernel-hugemem 2.6.9-55.0.12.EL, kernel-largesmp 2.6.9-55.0.12.EL Red Hat Enterprise Linux ES version 4 kernel 2.6.9-55.0.12.EL, kernel-smp 2.6.9-55.0.12.EL, kernel-xenU 2.6.9-55.0.12.EL, kernel-hugemem 2.6.9-55.0.12.EL, kernel-largesmp 2.6.9-55.0.12.EL Red Hat Enterprise Linux WS version 4 kernel 2.6.9-55.0.12.EL, kernel-smp 2.6.9-55.0.12.EL, kernel-xenU 2.6.9-55.0.12.EL, kernel-hugemem 2.6.9-55.0.12.EL, kernel-largesmp 2.6.9-55.0.12.EL
    fixed: vendor fix RHSA-2007:0939

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 2.0 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.