Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 490
Alerts This Week
Warning Icon 1 490

Stay Ahead With Linux Security News

Filter%20icon Refine news
X Clear Filters
X Clear Filters
View More

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Community Poll

Should Linux servers automatically install security updates?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum {0} answer(s).
Please select maximum {0} answer(s).
/main-polls/157-should-linux-servers-automatically-install-security-updates?task=poll.vote&format=json
157
radio
0
[{"id":506,"title":"Yes \u2014 critical security patches should install automatically.","votes":0,"type":"x","order":1,"pct":0,"resources":[]},{"id":507,"title":"No \u2014 every update should be tested before deployment.","votes":0,"type":"x","order":2,"pct":0,"resources":[]},{"id":508,"title":"Only critical vulnerabilities should auto-install.","votes":0,"type":"x","order":3,"pct":0,"resources":[]},{"id":509,"title":"I patch when Reddit starts panicking.","votes":1,"type":"x","order":4,"pct":100,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350
bottom 200
Loading...

Explore Latest Linux Security news

We found 4 articles for you...
77

How Memory Leaks Affect System Stability and Security

A process with a stable workload shouldn't keep growing its resident memory. When it does, the first question isn't how much RAM is available. It's where the allocations stopped being released. On Linux, that answer isn't always obvious because the kernel, allocator, and application all influence what memory usage looks like from the outside. . Separating normal allocation behavior from an actual leak takes more than watching top or container metrics. Heap growth, allocator caches, mapped regions, and process lifetime all change the picture. A steadily increasing RSS may indicate a leak. It may also reflect fragmentation, caching, or memory the allocator hasn't returned to the kernel. The useful evidence comes from understanding how Linux manages process memory and from using the right profiling tools to follow allocations back to their source. That's where the investigation starts. What a memory leak is, at the OS level A memory leak happens when a program asks an allocator for memory through malloc() and never releases it through free(). The allocator keeps that block marked as allocated, and the kernel has no way to know it’s functionally dead once the application loses track of it. Understanding why requires a quick look at how Linux handles virtual memory underneath malloc(). The request goes to an allocator, usually glibc ’s implementation derived from ptmalloc, though latency-sensitive services often swap in jemalloc or tcmalloc instead, each using a different strategy for the same underlying problem. With glibc, small and medium allocations come from heap arenas backed by brk()/sbrk(), while large allocations are typically served through anonymous mmap() regions, with the cutoff tunable and, in modern glibc, dynamically adjusted rather than fixed. Either way, the kernel maps virtual addresses first and delays committing physical RAM until first touch, through a page fault. From the kernel’s point of view, the process still owns that virtual address range regardless ofwhether anything still needs it. Whether a page stays resident, gets swapped out, or gets reclaimed follows normal virtual memory rules and current pressure, not whether the application still holds a pointer to it. With a valid pointer, the program can release the allocation through free() or munmap(). Without one, the allocation is effectively unrecoverable until the process exits. That distinction explains a pattern every Linux administrator runs into in top or htop: the gap between VIRT and RES. VIRT is the total virtual address space a process has mapped, useful for spotting address-space growth or mmap() leaks, but not physical pressure. RES is the resident set size, the actual RAM backing that mapping. A process whose RES keeps climbing over hours or days, well past where its workload should have settled, is the most basic signature of a leak on Linux. Where leaks come from in Linux server software Leaks come from a handful of recurring patterns, and most Linux server software runs into at least one of them: Malloc/free mismatches in error paths : The most common source in C and C++ services: a function allocates a buffer, hits an early return on failure, and skips the cleanup that only runs on the success path. The leak only shows up under conditions that exercise that failure path, which makes it easy to miss in testing. File descriptor leaks : A socket or file opened without a matching close() eventually hits the per-process limit set by ulimit -n, but the cost starts well before that. Each open descriptor keeps kernel-side structures allocated behind it: socket buffers, dentry and inode references, epoll registrations. mmap()-based leaks : A process maps a file or shared memory segment and never calls munmap(). If the mapping is never touched again, VIRT grows without a matching jump in RES, which trips people up when they assume RES tells the whole story. JVM reference retention : Common in Kafka, Elasticsearch, or Cassandra deployments. Objects stay reachable throughreferences left in static collections, listeners that never get removed, or classloaders that accumulate across repeated redeploys. The garbage collector is doing what it’s designed to do: keeping alive everything still reachable, even when “reachable” only happens because of a bug. Leaks inside managed runtimes : Garbage collection doesn’t make a language immune. In Python, C extensions like numpy or pandas manage memory outside the reach of Python’s own collector, so a leak inside the extension is invisible to gc.collect(). In Go, a goroutine blocked forever on a channel that never receives anything holds onto every variable it captured for as long as the program runs. Connection pool exhaustion : A database connection checked out and never returned drains the pool over time, and each connection still in use holds buffers, prepared statement caches, and protocol state behind it. Detecting and diagnosing memory leaks on Linux Diagnosing a leak on Linux moves through four stages: spotting the trend, ruling out look-alikes, finding the responsible code, and confirming what happened after the fact. Spotting the trend top or htop sorted by memory is the first signal, followed by ps aux --sort=-%mem to confirm which process is climbing. /proc/[pid]/status gives quick indicators like VmRSS and VmHWM for trend-spotting. For mapping-level accuracy, especially when shared pages matter, use /proc/[pid]/smaps or smaps_rollup, which show memory by individual mapping and help separate a heap leak from one in a mapped file or shared library. On hosts running many copies of similar daemons, plain RSS double-counts shared pages, which is where smem earns its place, reporting proportional set size (PSS) for a more honest per-process picture. Ruling out look-alikes Not every upward RSS trend is a true lost-allocation leak. Allocator fragmentation, unbounded caches, per-thread arenas, and garbage-collected heaps that don’t return memory to the OS all produce leak-like graphs. The fixdiffers: a true leak needs corrected ownership and lifetime, while bloat needs cache limits, heap sizing, or allocator tuning. Finding the responsible code Once a leak is confirmed, the next step is finding it in the code. Valgrind’s memcheck , run with --leak-check=full, classifies leaks as “definitely lost” or “possibly lost,” tied to the allocating call stack, though the overhead makes it mostly a staging tool rather than something run against live traffic. AddressSanitizer and LeakSanitizer, built into gcc and clang, are lighter and more common in CI pipelines instead, though the specific behavior depends on compiler, platform, and sanitizer configuration. For a process already running in production, where attaching a heavily instrumented build isn’t an option, eBPF-based tools have become the standard: memleak.py from the BCC toolkit , or the bpftrace equivalent, hooks into malloc and free on a live process with much lower overhead than Valgrind, though overhead still depends on allocation rate, sampling settings, and workload. It reports outstanding allocations without requiring a restart. For JVM workloads, jmap pulls a heap dump that Eclipse Memory Analyzer or VisualVM can open to find which objects are holding the most memory and why they’re still reachable. Go ships its own answer in the standard library’s pprof heap profiler. Kernel-space leaks are rarer, usually inside drivers rather than core subsystems. The kernel’s built-in kmemleak detector exists because user-space tools can’t see kernel memory, and slabtop offers a lighter way to watch slab cache growth without it. Confirming it after the fact When none of this happens in time, the OOM killer’s own logs become the diagnostic tool of last resort. dmesg | grep -i oom or journalctl -k usually shows which process was holding the most memory at the moment it got killed, useful retroactively even if it would have helped more a few hours earlier. The stability impact, from RSS growth to the OOM killer The kernel’s response to memory pressure follows a general pattern, though the exact path depends on workload, kernel settings, cgroups, and available swap. Under pressure, Linux attempts to reclaim in stages: page cache, reclaimable slab, and, depending on configuration, anonymous memory through swap. As a process’s RSS grows, the kernel typically starts with page cache, the clean, easily-recreated pages backing recently read files, reclaimed through kswapd running in the background. This is why low free memory on a Linux box often isn’t a problem: page cache is supposed to fill unused RAM and gets evicted painlessly under pressure. The trouble starts once page cache has little left to give and the kernel has to consider reclaiming anonymous memory, the heap and stack pages behind running processes, including whatever a leak has accumulated. vm.swappiness shapes how aggressively the kernel prefers swapping anonymous memory over reclaiming file-backed cache, but it doesn’t guarantee heap and stack pages get swapped before anything is killed, since that depends on how much swap exists and how fast pressure builds. This is the stretch where a leaking service feels sluggish rather than broken, right up until reclaim can’t keep pace. Once reclaim and swap can’t satisfy demand, the OOM killer picks a victim based on oom_score, adjustable per process through /proc/[pid]/oom_score_adj. This matters operationally: a leak in one service can get an unrelated process killed instead, if that process has a less negative oom_score_adj when the kernel goes looking for a victim. vm.overcommit_memory controls commit accounting and affects whether large allocations fail early, but it doesn’t control this later reclaim-and-OOM sequence once real pressure exists. Containers and orchestrated environments Inside a container, the same leak plays out differently because memory is bounded by a cgroup rather than the whole host. Cgroup v1 enforces this through memory.limit_in_bytes; cgroup v2 through memory.max.A leaking process usually hits that ceiling well before it affects the rest of the node, and gets killed by the kernel’s per-cgroup OOM handling. In Kubernetes, this surfaces as a pod entering the OOMKilled state, visible in kubectl describe pod. The restart policy that makes containers resilient also makes leaks harder to notice. Kubernetes brings the container back up automatically, RSS resets to baseline, and the leak resumes from zero until it grows back to the limit, and the cycle repeats. Without memory metrics tracked over time, through Prometheus scraping cAdvisor or kube-state-metrics and graphed in something like Grafana, this pattern looks like an intermittent crash. It’s a deterministic leak on a timer set by request rate and the configured memory limit. Sidecars complicate this further. Kubernetes memory limits are usually specified per container, so a leak in a logging sidecar or service mesh proxy gets killed independently of the main application, without eating into its limit directly. Newer clusters can also define pod-level resource limits, now beta and enabled by default, giving the whole pod a shared memory ceiling instead. Either way, a sidecar with no limit set can still consume from the node’s general pool, putting unrelated pods at risk of eviction. The security implications go deeper than data exposure Leaks create three kinds of security exposure: denial of service, a more specific data-exposure risk than is often assumed, and a quieter risk to the security tooling running alongside the leak. 1. Denial of service The most direct risk is denial of service. Leak-driven DoS is a recognized attack class, formally classified as CWE-401 , “Missing Release of Memory after Effective Lifetime,” not just an unfortunate side effect of sloppy code. An attacker who finds a request pattern that reliably triggers a code path missing a free() call can repeat it to drive a service toward its memory limit on purpose. The recently disclosed HTTP/2 Bomb attack is betterframed as resource-amplification denial of service than a classic leak, but the result is similar: a small amount of attacker-controlled input forces disproportionate server-side resource consumption, and the outcome looks identical to an organic crash unless someone is watching for it. 2. Data exposure A second risk is data exposure, though the mechanism is more specific than it’s often assumed to be. A true memory leak and a failure to clear sensitive data before releasing it are related but distinct problems. The practical risk with leaks specifically is duration: a buffer holding a credential, a session token, or a request body that should have lived for milliseconds instead stays resident for hours or days, simply because nothing freed it. That extended lifetime widens the window during which an unrelated bug, an out-of-bounds read, a crash that writes a core dump, a swap file persisted to disk, can expose data that a properly managed allocation would never have stuck around long enough to leak. 3. Quieter risk to the security tooling A third, quieter risk involves the security tooling on the same host. auditd, intrusion detection agents, and log shippers compete for the same memory as everything else, and get throttled or killed under the same pressure a leak creates, unless their oom_score_adj is specifically protected. The moment a host is under the most pressure, often because something is leaking, is also the moment its own defenses are least likely to be running normally. Open source software and the kernel itself Widely deployed open source daemons, Redis, Nginx, PostgreSQL, and Apache, have all had real memory leak issues tied to specific configurations or malformed input, documented in changelogs and bug trackers. Being open source means these get found and patched quickly once flagged. It also means the affected versions are public, making patch prioritization a real operational task rather than a guessing game, since anyone, including an attacker, can read the same changelog. “Linux memory leak” sometimes refers to something happening inside the kernel itself, typically in a driver rather than a core subsystem. These leaks are harder to see because user-space diagnostic tools have no visibility into kernel memory, which is the gap kmemleak was built to fill. slabtop offers a lighter way to watch slab cache growth without its full instrumentation. Preventing leaks before they ship Preventing leaks comes down to ownership discipline paired with guardrails specific to the runtime in use: C and C++: RAII and smart pointers where possible, explicit cleanup on every error branch, and sanitizers wired into CI rather than run only when something looks wrong. Go: context. Context cancellation to bound goroutine lifetimes, avoiding unbounded goroutine creation in handlers, and routine profiling with pprof. JVM services: bounded caches, deregistered listeners, and no static registries retaining request-scoped objects. Python: context managers, explicit closes instead of relying on GC timing, and tracemalloc for Python-level allocations, with native extension memory watched separately since tracemalloc can’t see it. Watching for leaks before they become incidents The most useful signal is a trend, not a threshold. A single memory number rarely tells you anything; the slope of that number over hours and days tells you almost everything. Worth alerting on: A sustained positive RSS slope after warm-up. Climbing cgroup memory usage independent of request volume. Repeated container restarts or OOMKilled events on the same workload. A growing file descriptor count. Divergence between an app’s own heap metrics and total process or container RSS. That last one tends to catch native extensions and off-heap leaks that a runtime’s own instrumentation never sees. A practical troubleshooting flow When something looks like a leak, the order of operations matters: Confirm the trend using RSS, cgroup memory, or process metrics overtime, not a single snapshot. Separate heap growth from mapping growth using smaps or smaps_rollup. Check file descriptor counts through /proc/[pid]/fd or lsof to rule out an fd leak. Match the tool to the runtime: Valgrind or a sanitizer build for C and C++, a heap dump for JVM, pprof for Go, tracemalloc for Python. Check OOM evidence through journalctl -k, dmesg, or Kubernetes pod events to confirm which process was responsible. A quick note for desktop systems Anyone running into this on their own Mac, rather than a fleet of servers, can usually resolve the issue by identifying the application consuming memory and closing or restarting it before the system becomes unresponsive. In most cases, this can be done through Activity Monitor without using the Terminal or other profiling tools. Anyone running into this on their own Mac, rather than a fleet of servers, can follow a troubleshooting guide to identify the responsible application and recover without losing unsaved work, no profiler or terminal required. Treating memory as a first-class metric The teams that catch leaks early are usually the ones already graphing RSS over time for their long-running services, the same way they graph CPU and disk. A leak announces itself on that chart as a line that never comes back down between deploys, well before it becomes an incident. Memory tends to get treated as a fixed quantity that’s either fine or not, rather than a trend worth watching, and long-running Linux infrastructure punishes that assumption eventually, usually at the worst possible time. . Explore how memory leaks impact Linux system stability, security and performance, including detection techniques and prevention strategies.. Memory Leak Linux, System Stability, Security Implications, Open Source Applications. . MaK Ulac

Calendar%202 Jun 26, 2026 User Avatar MaK Ulac Server Security
210

“MongoBleed” MongoDB Memory Leak Under Active Exploitation — Distros Lag on Updates

MongoBleed, tracked as CVE-2025-14847, is a high-severity flaw in MongoDB that allows unauthenticated attackers to read small pieces of a server’s memory. In simple terms, a remote client can ask MongoDB to process a malformed compressed message, and the database may respond with extra bytes it never intended to send. . Those extra bytes come from memory the process was already using. No login is required, and no unusual configuration is needed. The issue sits in a pre-authentication code path that most administrators never have reason to think about. In this article, we’ll look at what MongoBleed actually does, who is exposed, and why timing matters more than usual right now. We’ll also walk through what administrators can do while waiting for distribution-level fixes. Why This Matters Right Now MongoDB is rarely a standalone system. It usually lives behind web applications, API backends, SaaS platforms, and internal services that users rely on every day without knowing what database is underneath. When a MongoDB process leaks memory, it is not just database internals at risk. It can include credentials, tokens, query contents, or fragments of application data that happened to be in memory at the wrong moment. Researchers estimate that tens of thousands of MongoDB servers are reachable from the internet, with many more deployed on internal networks that assume a level of trust. That alone would make MongoBleed worth attention. What raises the stakes is that exploitation is already happening. Proof-of-concept code is public, scanning has been observed, and the barrier to entry is low. At the same time, upstream MongoDB patches are available while major Linux distributions such as Debian have not yet shipped fixed packages through their normal update channels. For administrators who depend on distro packages for stability and compliance , this creates a narrow window where the risk is real, the fix exists, and the official path forward is not fully in place yet. Dissecting theMongoBleed Memory Leakage Flaw This issue looks complex at first glance, but the underlying failure is easier to reason about once you slow it down. MongoBleed is not about corrupting data on disk or taking control of a system. It is about memory leakage caused by a mismatch between what MongoDB expects to receive and what it actually processes. Vulnerability Mechanics MongoDB supports compressed network traffic to reduce bandwidth and improve performance. When compression is used, each network message includes a small header that tells the server how large the message is supposed to be after it is decompressed. MongoDB uses that value to decide how much memory to allocate for the incoming request and how much data it expects to process. In vulnerable versions, MongoDB does not always verify that this declared size matches what is actually produced when the data is decompressed. An attacker can send a compressed message that advertises a larger decompressed size than the data really expands to. Internally, MongoDB allocates a response buffer based on that declared size. When the server later builds a reply, it assumes the buffer contains only valid request data. In reality, part of that buffer was never filled by the decompression step. Those unused sections can still contain whatever data happened to be in memory from earlier operations. Instead of clearing the buffer or rejecting the request, MongoDB may include those leftover bytes in its response. That is how unrelated memory ends up being sent back to the client. It is not random in the sense of being generated, but random in the sense that it reflects whatever the process was previously doing. This is why the issue is classified as memory leakage. The server is not choosing to disclose information. It is reusing memory without fully sanitizing it, and the protocol logic allows that memory to cross the network boundary before authentication ever happens. This is what actually happens when the exploit runs: The attacker opens anetwork connection to MongoDB. A specially crafted compressed message is sent. MongoDB processes it before authentication. The response includes unintended memory contents. There is no crash and often no obvious error. The database keeps running. That is part of what makes this class of bug dangerous. You often won’t get obvious symptoms. What gets exposed depends on timing and workload. It is not a clean dump of the database. It is fragments. But fragments add up. Over repeated requests, attackers can reconstruct meaningful data. Because this logic runs before authentication, no credentials are required. Any system that allows network access to MongoDB is potentially reachable. Affected Versions The issue affects multiple supported MongoDB release lines prior to patched versions. MongoDB 8.2 before 8.2.3 MongoDB 8.0 before 8.0.17 MongoDB 7.0 before 7.0.28 Default installations are vulnerable if zlib compression is enabled, which is common. Many administrators never touch compression settings, so the exposure often exists without anyone realizing it. Exploit Code and Proof of Concept Public proof-of-concept code is available and easy to adapt. It does not rely on rare conditions or fragile timing. That lowers the bar significantly. Once a PoC is public, scanning ramps up fast. Scanning increases. Opportunistic exploitation follows. Then targeted use appears, often looking for credentials or tokens rather than full database contents. MongoBleed fits that pattern closely. It is not flashy, but it is reliable enough to be useful, and that is what tends to drive real-world abuse. Understanding the Impact and Context of MongoBleed The impact of MongoBleed is less about dramatic failure and more about quiet exposure. Nothing breaks loudly. Systems stay online. Applications keep working. That is often when damage goes unnoticed the longest. Who’s Affected? The most obvious risk sits with self-hosted MongoDB deployments that are reachable over thenetwork, especially those exposed directly to the internet. But the boundary is wider than that. MongoDB is commonly embedded into: Web application backends handling user authentication and sessions API services storing tokens, keys, and request metadata Internal platforms assumed to be safe because they live “behind” other systems Managed services and SaaS products where MongoDB is one layer in a longer chain Researchers tracking exposure have identified at least 87,000 internet-accessible MongoDB servers, with some estimates placing the number much higher depending on scan methodology. That does not count internal deployments, which often reuse the same defaults and trust assumptions. Once you start to see this pattern, you realize the real audience is not just database administrators. It is anyone responsible for infrastructure that quietly depends on MongoDB behaving safely under unexpected input. Exploitability and Real-World Risk This flaw allows attackers to read sensitive data from MongoDB’s memory. It does not hand over shell access or database admin privileges. That distinction matters, but it does not make the risk small. What can leak includes: Database credentials cached in memory API keys and service tokens used by applications Query contents and partial documents Configuration values and internal logs Because the attack happens before authentication and requires little sophistication, scanning and exploitation are straightforward. Attackers do not need persistence. They can probe, extract what they can, and move on. This is the same dynamic seen in earlier memory disclosure bugs. One request might reveal nothing useful. Ten thousand requests later, patterns emerge. Secrets repeat. Context accumulates. That is how memory leakage becomes operational risk. Distribution Patching Status Upstream MongoDB has released fixed versions, and from a purely technical perspective, the problem is solved there. The friction appears atthe distribution layer. Some major distros may lag in shipping patched MongoDB builds through their standard repos. This is not unusual, but it matters. For administrators who rely on distro packages for consistency, auditing, and compliance, this creates a window where: The vulnerability is known and exploited The fix exists upstream The official distro path lags behind That gap is where risk management decisions happen. Do you wait? Do you patch manually ? Do you mitigate and monitor? There is no universal answer, but MongoBleed is a clear example of how timing, not just severity scores, shapes real-world exposure. Practical Mitigation and Response Measures for Admins Operationally, this leaves you with a decision. MongoBleed does not wait for clean patch windows or perfectly aligned advisories. If you run MongoDB today, you have to decide how much risk you are willing to carry while distributions catch up. Apply Upstream Patches The most direct fix is to upgrade to a MongoDB release that includes the patch for CVE-2025-14847. Upstream has addressed the issue in current supported branches, including 8.2.3, 8.0.17, and 7.0.28. If you are already sourcing MongoDB directly from upstream repositories, this is a straightforward upgrade path. In environments tied strictly to distro packages, it becomes a policy question rather than a technical one. This is often where compliance teams and operations teams collide. The vulnerability is real. The fix exists. The packaging lag is procedural, not technical. If Distros Haven’t Pushed Packages When official packages are not yet available, administrators typically fall into one of three camps. Manually install upstream MongoDB binaries and document the deviation. Rebuild distro packages from patched upstream sources. Delay patching and rely on mitigations and monitoring. None of these are ideal. All of them are common. If you maintain internal build pipelines, rebuilding from upstream source canpreserve most compliance guarantees. If not, documenting the rationale and timeline for a temporary upstream install is often better than pretending the risk does not exist. What matters is being explicit about the choice rather than defaulting to inaction. Temporary Mitigations If patching cannot happen immediately, there are steps that materially reduce exposure. Disable zlib compression in MongoDB’s network settings. MongoBleed relies on compressed message handling, and removing zlib from the allowed compressors cuts off the attack path. Restrict network access to MongoDB. If it does not need to be internet-facing, it should not be. Firewalls, security groups, and VPN-only access still matter. Review whether pre-auth access is broader than necessary, especially in shared or flat network segments. These are not cosmetic changes. In practice, most successful exploitation relies on easy reachability and default settings. Detection and Monitoring Detection for memory leakage is imperfect, but it is not nonexistent. Administrators should: Review MongoDB logs for unusual pre-auth connection patterns or malformed requests. Watch for repeated short-lived connections that do not follow normal client behavior. Monitoring will not prevent memory leakage, but it can tell you whether someone is knocking. In the context of an actively exploited flaw, that information changes how urgently you escalate remediation. Mitigation here is less about a single correct answer and more about reducing uncertainty until patching is complete. The Broader Takeaway: What Can We Learn from MongoBleed? MongoBleed is not unusual, and that is part of the problem. Once you have watched a few cycles like this, the shape becomes familiar. A memory leakage flaw appears in a widely deployed service. It is technically subtle but operationally simple. Exploitation starts quietly, often before most administrators have even read the advisory. Upstream fixes land quickly, whiledistribution packages follow on a slower, more careful timeline. The risk lives in that gap. This is the same pattern seen with earlier pre-auth memory disclosure vulnerabilities. Heartbleed is the obvious historical reference, but the lesson did not end there. Memory safety issues continue to surface in core infrastructure software, especially in code paths that sit below authentication and are rarely stressed in normal testing. What MongoBleed reinforces is the importance of thinking beyond patch availability alone. Defense in depth still matters. Network boundaries still matter. Defaults still matter. When a service like MongoDB is treated as internal by assumption rather than by enforcement, pre-auth flaws turn into external risks very quickly. It also highlights a recurring tension in Linux environments. Distribution packaging provides stability, auditability, and trust. It also introduces delay. For high-severity, actively exploited issues, administrators need playbooks for what happens when upstream and distro timelines diverge. You start to see it once you have lived through a few of these incidents. The vulnerability itself is only one part of the story. The rest is how quickly systems, processes, and assumptions adapt when the ground shifts underneath them. . MongoBleed exposes MongoDB's memory leak risk, allowing attackers leaked credentials under active exploitation. Patching is delayed.. MongoDB, memory leak, CVE-2025-14847, security advisory, critical threat. . Brittany Day

Calendar%202 Jan 03, 2026 User Avatar Brittany Day Security Vulnerabilities
210

Native Spectre V2 Exploit Analysis: Implications for Linux Admins

The recently uncovered "Native Branch History Injection (BHI)" exploit against the Linux kernel marks a significant milestone in the ongoing battle against Spectre v2 vulnerabilities. Researchers have revealed that BHI can bypass existing Spectre v2/BHI mitigations to read sensitive data from the memory of Intel systems. . This exploit highlights the need for continued vigilance in Linux security and raises questions about the long-term consequences of such vulnerabilities. What Is the Impact of This Exploit on Affected Systems? The novel nature of the BHI exploit, tracked as CVE-2024-2201 , can be described as the "first native Spectre v2 exploit." This statement immediately captures the interest of Linux admins, infosec professionals, and internet security enthusiasts, suggesting that this discovery could have far-reaching consequences for the security of Linux systems. The fact that BHI can leak arbitrary kernel memory at a rate of 3.5 kB/sec is alarming and intriguing, as it exposes potential avenues for attackers to obtain sensitive information. Existing Spectre v2 and BHI mitigations do not adequately protect against the Native BHI expl oit. Intel's recommendation to disable unprivileged eBPFs , one of the attack vectors used by BHI, may seem like a logical countermeasure. However, the researchers behind BHI have successfully demonstrated that it is possible to carry out the exploit without relying on eBPFs. This finding raises important questions about the effectiveness of current defense strategies and calls for reassessing security measures employed by Linux admins and sysadmins. The impact of BHI extends beyond Intel systems, as it affects all vulnerable Intel hardware. This finding reminds us that the consequences of hardware vulnerabilities can be widespread and affect a broad range of devices and software deployments. The confirmation that known platforms such as Illumos, Red Hat, SUSE Linux, Triton Data Center, and Xen are affected further emphasizes the need for immediateaction. Additionally, this discovery draws attention to recent similar exploits, such as GhostRace , a variant of Spectre v1, and the Ahoi Attacks . These examples demonstrate a worrying pattern of increasingly sophisticated attacks targeting CPU architectures and hardware-based trusted execution environments. As security practitioners, it is crucial to stay informed about these developments to proactively adapt defenses and protect against emerging threats. Our Final Thoughts on the Implications of This Exploit The uncovering of the Native Spectre v2 exploit, BHI, raises significant concerns for the Linux security community. It reinforces the need for constant vigilance and highlights the challenges of securing complex systems. Linux admins, infosec professionals, and sysadmins should reassess their security measures, considering the limitations of existing mitigations and adopting a proactive mindset. The impact of these vulnerabilities extends beyond a single operating system or hardware vendor and demands international collaboration to enhance cybersecurity measures. By actively staying informed, security practitioners can be better equipped to address and mitigate the threats posed by native exploits like BHI. . Recent findings concerning the Native Branch History Injection vulnerability have exposed significant security weaknesses in Linux, particularly impacting Intel architecture.. Branch History Injection, Memory Leak, Linux Exploit, Intel Vulnerability, Security Implications. . Dave Wreski

Calendar%202 Apr 25, 2024 User Avatar Dave Wreski Security Vulnerabilities
79

AppArmor: Enhance Security with SHA256 Policy Hashes in Linux 6.8

An important change has been made in the AppArmor Linux kernel security module . The change involves switching from using the insecure SHA1 algorithm to the more secure SHA256 algorithm for AppArmor policy hashes. . This change is motivated by the fact that SHA1 is vulnerable to collisions and is considered insecure. It is also worth noting that sha1 usage must be withdrawn by 2030, according to the NIST Policy on Hash Functions . Additionally, the update includes fixes for memory leaks and other bugs related to AppArmor. What Are the Security Benefits & Implications of This Change? The migration from SHA1 to SHA256 for AppArmor policy hashes is an important security enhancement. SHA1 is susceptible to collisions, making it insecure for lightweight policy hash checks. By switching to SHA256, which is considered secure on modern hardware, AppArmor improves the integrity and reliability of its policy-matching mechanism. This decision has long-term consequences for the security of systems that rely on AppArmor. This prompts the question of the potential vulnerabilities that may exist in current configurations, motivating users to prioritize this update. For sysadmins and infosec professionals, this change has a direct impact on their daily operations. The update not only improves the security of policy matching but also fixes memory leaks and other bugs. This means that system administrators can benefit from better performance and stability in their AppArmor configurations. However, it is important to consider the potential implications of this change. Policy loading could be slowed down on low-end systems due to the hashing introspection. Understanding the potential consequences allows security practitioners to make informed decisions based on their specific needs and constraints. Final Thoughts on AppArmor's Switch to SHA256 Policy Hashes In Linux 6.8 In summary, the switch from SHA1 to SHA256 for AppArmor policy hashes in Linux 6.8 is a significant security enhancement. Itaddresses the known vulnerabilities of SHA1 and aligns with industry best practices. The long-term consequences, such as compliance with NIST policies and the impact on performance for low-end systems, should be carefully considered. By prioritizing this update, security practitioners can strengthen the integrity and security of their AppArmor configurations, contributing to the overall resilience of their systems. Have questions about this change or how to apply this update? Connect with us on Twitter - we're here to help . Switching from SHA1 to SHA256 in AppArmor strengthens security and aligns with industry best practices.. AppArmor Security, SHA256 Policy Update, Kernel Security Enhancements, Memory Leak Fixes. . LinuxSecurity.com Team

Calendar%202 Jan 19, 2024 User Avatar LinuxSecurity.com Team Security Projects
210

New SWAPGS Vulnerability: Severe CPU Memory Access Threat

The SWAPGS vulnerability can allow attackers to access contents of kernel memory addresses. Microsoft and Intel have coordinated on a mitigation. . Security researchers have found a new way to abuse the speculative execution mechanism of modern CPUs to break security boundaries and leak the contents of kernel memory. The new technique abuses a system instruction called SWAPGS and can bypass mitigations put in place for previous speculative execution vulnerabilities like Spectre. The vulnerability was discovered by researchers from security firm Bitdefender and was reported to Intel almost a year ago. Since then, it has followed a lengthy coordination process that also involved Microsoft, which released mitigations during last month’s Patch Tuesday. . Cybersecurity experts have discovered a novel method to exploit the speculative execution features of contemporary processors.. swapgs, vulnerability, allow, attackers, contents, kernel, memory, addresses, microsof. . Brittany Day

Calendar%202 Aug 07, 2019 User Avatar Brittany Day Security Vulnerabilities
77

Sendmail 8.14.4 Security Update: SSL Issue and Functionality Fixes

Version 8.14.4 of Sendmail, the open source mail transfer agent (MTA), includes fixes for several security vulnerabilities including some integer overflows, memory leaks and for the SSL NUL character problem disclosed in mid 2009. The release also corrects a resolution error where an apparently valid host name lookup contained a NULL pointer; this problem caused crashes on some Linux versions of the software. The update also includes a number of corrections for several non-security issues.. Update - The SSL NUL character problem was the only security related issue. According to Sendmail Maintainer Claus Assmann, the other errors do not affect the security of the server. ]All of article] The link for this article located at H Security is no longer available. . Sendmail 8.14.4 resolves the SSL null character problem and enhances general performance. Security enhancements are applied.. Sendmail Update, Mail Transfer Agent, Security Patch, Functionality Fixes. . LinuxSecurity.com Team

Calendar%202 Jan 06, 2010 User Avatar LinuxSecurity.com Team Server Security
78

Sendmail 8.14.4 Critical Fixes for Memory Leak and Overflow Issues

Version 8.14.4 of Sendmail, the open source mail transfer agent (MTA), includes fixes for several security vulnerabilities including some integer overflows, memory leaks and for the SSL NUL character problem disclosed in mid 2009. The release also corrects a resolution error where an apparently valid host name lookup contained a NULL pointer; this problem caused crashes on some Linux versions of the software. The update also includes a number of corrections for several non-security issues.. [All of article] The link for this article located at H Security is no longer available. . [All of article]The link for this article located at H Security is no longer available.. version, sendmail, source, transfer, agent, (mta), fixes. . LinuxSecurity.com Team

Calendar%202 Jan 04, 2010 User Avatar LinuxSecurity.com Team Vendors/Products
78

Linux Environment: 140321 Severe DoS and VPN Configuration Workaround

Two vulnerabilities have been reported in the Linux kernel, which can be exploited by malicious, local users to cause a DoS (Denial of Service) or bypass certain security restrictions. . 1) The "setsockopt()" function is not restricted to privileged users with the "CAP_NET_ADMIN" capability. This can be exploited to bypass IPsec policies or set invalid policies to exploit other vulnerabilities or exhaust available kernel memory. 2) An error in the "syscall32_setup_pages()" function on 64-bit x86 platforms can be exploited to cause a memory leak by executing a malicious 32-bit application with specially crafted ELF headers. 1) The vulnerability has been fixed in version 2.6.13-rc7. 2) The vulnerability has been fixed in version 2.6.13-rc4. The link for this article located at Secunia is no longer available. . Explore the impact of two critical vulnerabilities in the Linux kernel that could enable malicious actors to execute Denial of Service attacks and circumvent IPsec policy protections.. Linux Kernel Security, Denial of Service, IPsec Policies. . LinuxSecurity.com Team

Calendar%202 Aug 25, 2005 User Avatar LinuxSecurity.com Team Vendors/Products
News Add Esm H340

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Community Poll

Should Linux servers automatically install security updates?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum {0} answer(s).
Please select maximum {0} answer(s).
/main-polls/157-should-linux-servers-automatically-install-security-updates?task=poll.vote&format=json
157
radio
0
[{"id":506,"title":"Yes \u2014 critical security patches should install automatically.","votes":0,"type":"x","order":1,"pct":0,"resources":[]},{"id":507,"title":"No \u2014 every update should be tested before deployment.","votes":0,"type":"x","order":2,"pct":0,"resources":[]},{"id":508,"title":"Only critical vulnerabilities should auto-install.","votes":0,"type":"x","order":3,"pct":0,"resources":[]},{"id":509,"title":"I patch when Reddit starts panicking.","votes":1,"type":"x","order":4,"pct":100,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350
bottom 200