CVE-2026-24825
Linux Red Hat vulnerability analysis and mitigation

Overview

CVE-2026-24825 is a memory leak vulnerability (Missing Release of Memory after Effective Lifetime) in the ydb-platform/ydb open-source distributed database, specifically within the contrib/libs/yajl module's yajl_tree.c file. The vulnerability stems from a cloned copy of the YAJL library that did not receive the upstream security patch originally tracked as CVE-2023-33460. It affects ydb versions through 24.4.4.2 and was publicly disclosed on January 27, 2026. The CVSS v4.0 base score is 6.9 (Medium), assigned by GovTech CSG (Feedly, EUVD).

Technical details

The root cause is CWE-401 (Missing Release of Memory after Effective Lifetime): the yajl_tree_parse() function in the bundled YAJL library fails to free allocated memory under certain parsing conditions, resulting in a memory leak. The vulnerability exists because ydb's contrib/libs/yajl directory is a mirror of an external repository and did not receive the security fix applied upstream in likema/yajl (commit 31531a6). An unauthenticated remote attacker can trigger the leak by repeatedly sending crafted JSON input to any ydb component that invokes yajl_tree_parse(), causing progressive memory exhaustion. The fix was applied in ydb PR #17570, which ports the upstream patch (GitHub PR).

Impact

Successful exploitation leads to gradual memory exhaustion on the affected ydb server, ultimately causing denial of service (DoS) as system memory is consumed without release. There is no confidentiality or integrity impact — the vulnerability is limited to availability, affecting both the vulnerable system and potentially dependent subsystems (sub-availability impact: LOW). Recovery requires user intervention to restart affected services (Feedly).

Exploitation steps

  1. Reconnaissance: Identify internet-facing ydb instances running version 24.4.4.2 or earlier using network scanning tools or service fingerprinting.
  2. Craft malicious JSON input: Prepare a JSON payload designed to trigger the yajl_tree_parse() function's memory leak path — for example, deeply nested or malformed JSON structures that cause partial allocation without cleanup.
  3. Send repeated requests: Repeatedly submit the crafted JSON payload to any ydb endpoint that processes JSON via the vulnerable YAJL module, without requiring authentication or special privileges.
  4. Exhaust memory: Through sustained automated requests, progressively consume server memory until the ydb process becomes unresponsive or crashes, achieving denial of service (GitHub PR, Feedly).

Indicators of compromise

  • Network: Unusually high volume of JSON-bearing requests to ydb endpoints from a single or rotating set of source IPs; sustained connection attempts without corresponding legitimate workload.
  • System: Steadily increasing memory consumption by the ydb process (ydb or related service) observable via top, htop, or system monitoring tools without a corresponding increase in legitimate query load.
  • Logs: ydb service logs showing repeated invocations of JSON parsing functions with no corresponding memory release; out-of-memory (OOM) kernel messages (dmesg) referencing the ydb process.
  • Process: ydb process eventually terminating with an OOM kill signal or becoming unresponsive, requiring manual restart.

Mitigation and workarounds

The fix was merged into the ydb-platform/ydb main branch on April 26, 2025 (commit aeb8daa) via PR #17570, which applies the upstream YAJL patch from likema/yajl@31531a6. Users should upgrade to any ydb release built from the main branch after April 26, 2025 (i.e., versions after 24.4.4.2). As a temporary workaround, restrict network access to ydb endpoints to trusted clients only, and implement rate limiting on JSON-processing endpoints to reduce the impact of repeated requests. Monitor memory usage of ydb processes and configure automatic service restarts as a resilience measure (GitHub PR).

Community reactions

The vulnerability was reported by contributor npt-1707, who submitted the fix as a community pull request and subsequently filed the CVE after the patch was merged. The ydb maintainer (maximyurchuk) noted that the contrib directory is a mirror of an external repository, indicating the fix needed to be tracked internally (ticket DEVTOOLSSUPPORT-61900). The patch was also propagated to related Yandex projects including ytsaurus and yatool. No significant broader media coverage or security community discussion has been identified (GitHub PR).

Additional resources


SourceThis report was generated using AI

Related Linux Red Hat vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-66758HIGH7.8
  • Linux Debian logoLinux Debian
  • gimp:2.8::pygtk2
NoNoJul 27, 2026
CVE-2026-17523HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-modules
NoNoJul 27, 2026
CVE-2026-66759HIGH7.1
  • Linux Debian logoLinux Debian
  • gimp-devel-tools
NoNoJul 27, 2026
CVE-2026-15003MEDIUM5.6
  • Linux Red Hat logoLinux Red Hat
  • gcc-toolset-14-binutils-gprofng
NoNoJul 27, 2026
CVE-2026-66757MEDIUM5.5
  • Linux Debian logoLinux Debian
  • gimp:2.8::pygtk2
NoNoJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management