Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-119279— MariaDB Connector/J: Length-encoded integers larger than Integer.MAX_VALUE were truncated before being used as lengths

Quick assessment

Affected
mariadb-corporation mariadb-connector-j
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

MariaDB Connector/J 是用于将 Java 开发的应用程序连接到 MariaDB 和 MySQL 数据库的驱动组件。在 3.0.0 至 3.3.7、3.4.5 和 3.5.10 版本中, 和 方法将协议中的无符号 8 字节长度编码整数直接转换为 Java 类型,而未验证该值是否落在非负整数范围内。当数值超过 时,会发生回绕,导致负数或无关的长度值被下游的内存分配与读取路径使用。恶意或已被攻陷的服务器,或实施中间人攻击的攻击者,可利用此问题在客户端连接处理过程中触发 、越界访问失败,或引发超大内存分配

CVSS 5.9 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-119279

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
MariaDB Connector/J: Length-encoded integers larger than Integer.MAX_VALUE were truncated before being used as lengths
Source: CVE Program / CVE List V5
Vulnerability Description
MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. From 3.0.0 until 3.3.7, 3.4.5, and 3.5.10, the ReadableByteBuf.readLength() and ReadableByteBuf.readIntLengthEncodedNotNull() methods narrowed the protocol's unsigned 8-byte length-encoded integer to a Java int without checking that the value fit a non-negative integer. Values above Integer.MAX_VALUE could wrap to a negative or unrelated length that downstream allocation and read paths used. A malicious or compromised server, or a machine-in-the-middle attacker, could trigger NegativeArraySizeException, out-of-bounds failures, or oversized allocation behavior in client connection handling. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.10.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
长度参数不一致性处理不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
mariadb-corporation mariadb-connector-j >= 3.0.0, < 3.3.7 -

II. Public POCs for CVE-2026-119279

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-119279

请登录查看更多情报信息。

Other References for CVE-2026-119279 (7)

Same Patch Batch · mariadb-corporation · 2026-10-29 · 7 CVEs total

CVE-2026-119210 5.9 MEDIUM MariaDB Connector/J: LOAD DATA LOCAL INFILE file check could be satisfied by text inside q
CVE-2026-119281 5.9 MEDIUM MariaDB Connector/J: Server could switch character_set_results away from UTF-8 without the
CVE-2026-119276 5.9 MEDIUM MariaDB Connector/J: Rogue server can drive large heap allocations from server-declared le
CVE-2026-119277 5.9 MEDIUM MariaDB Connector/J: Rogue server can make the client read past the packet through server-
CVE-2026-119278 5.9 MEDIUM MariaDB Connector/J: Rogue server can crash the client during caching_sha2_password authen
CVE-2026-119280 3.7 LOW MariaDB Connector/J : XA recover() trusted server-supplied gtrid and bqual lengths

IV. Related Vulnerabilities