MariaDB Connector/J: Length-encoded integers larger than Integer.MAX_VALUE were truncated before being used as lengths — GHSA-797X-P4MC-JWPM
GitHub · GitHub · GHSA-797X-P4MC-JWPM
ID
GHSA-797X-P4MC-JWPM
GHSA-797X-P4MC-JWPM
Date
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
medium
medium
CVSS
5.9
5.9
EPSS
0.00351
0.00351
Summary
## Summary MariaDB Connector/J narrowed 8-byte length-encoded integers received from the server to `int` without validation. A rogue or MitM server can send a value above `Integer.MAX_VALUE` whose truncation becomes a negative or arbitrary length. ## Details The protocol encodes lengths as length-encoded integers, whose 8-byte form the decoder (`readLength()` and `readIntLengthEncodedNotNull()`) returned as `(int)…
Timeline
- Published by source
- 2026-10-30
Risk context
- Reported severity or threat level: medium.
- Reported CVSS score: 5.9 out of 10.
- Reported EPSS value: 0.00351.
- Review exposure for the affected product or family: maven: org.mariadb.jdbc:mariadb-java-client.
Product
maven: org.mariadb.jdbc:mariadb-java-client
What to do
General, cautious steps (verify details in the official source):
- Review exposure and plan remediation based on risk and environment.
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.
Official advisory
Evidence and provenance
- Canonical advisory ID
- GHSA-797X-P4MC-JWPM
- Source
- GitHub
- Vendor
- GitHub
- Published by source
- 2026-10-30
- Last source activity
- 2026-10-30
- Additional identifiers
- CVE-2026-119279
- Curated by
- hlukh.ch
Related advisories and connections
These advisories are connected by shared CVE, product, vendor, source, or time signals.