Heap corruption via unchecked MariaDB hex decoding
Published Jan 10, 2026 · Updated Jan 10, 2026
Heap-based buffer overflow in CryptoLib before 1.4.3 allows local users to corrupt heap memory through oversized MariaDB SA fields. The MariaDB SA interface's convert_hexstring_to_byte_array() loop decodes an entire database hex string into fixed-size IV, ARSN, or ABM storage without checking destination capacity. Reaching the flaw requires control of SA database contents; loading the crafted row can corrupt adjacent heap fields, crash the process, or cause undefined behavior.
Summary
What happened
Heap-based buffer overflow in CryptoLib before 1.4.3 allows local users to corrupt heap memory through oversized MariaDB SA fields. The MariaDB SA interface's convert_hexstring_to_byte_array() loop decodes an entire database hex string into fixed-size IV, ARSN, or ABM storage without checking destination capacity. Reaching the flaw requires control of SA database contents; loading the crafted row can corrupt adjacent heap fields, crash the process, or cause undefined behavior.
The record
- CVE
- CVE-2026-22027
- Published
- Jan 10, 2026
- Updated
- Jan 10, 2026
- Vendor
- NASA AMMOS
- Product
- CryptoLib
- Classifications
- CWE-122, CAPEC-92
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Jan 10, 2026CVE publishedPublication date reported by the CVE source.
- Jan 10, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 1.4.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- MariaDB SA hex conversion overflow PoCproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo