CVE-2026-75614
Out-of-bounds write in ASN1SCC decoders before 4.7.0.1
- CVSS 3.1
- 8.1 high
- EPSS
- —
- Published
- ·
- Modified
Before 4.7.0.1, ASN1SCC's constrained-integer decoder does not reject values above the declared range when that range is not a power of two. Generated uPER and ACN decoders use that invalid size as a loop or copy length for variable-size SEQUENCE OF, OCTET STRING, BIT STRING, and string values. Decoding crafted untrusted data, with no privileges or user interaction, can write past a heap or stack buffer, crash the process, or potentially execute code.
What to do: Upgrade to ASN1SCC 4.7.0.1.
| Product | Affected | Fixed in |
|---|---|---|
| ASN1SCC | prior to 4.7.0.1 | 4.7.0.1 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Description · NVD
ASN1SCC is an open source ASN.1 compiler for embedded systems. Prior to 4.7.0.1, BitStream_DecodeConstraintWholeNumber in asn1crt/asn1crt_encoding.c reads enough bits for a constrained integer but does not reject values above the declared range when the encoded range is not a power of two. Generated uPER and ACN decoders for variable-size SEQUENCE OF, OCTET STRING, BIT STRING, and string values use the invalid result as a loop or copy length, so a crafted over-range size field can write beyond a destination buffer. Decoding untrusted affected data can corrupt heap or stack memory, cause a crash, or potentially permit code execution. This issue is fixed in version 4.7.0.1.
- Weakness
- CWE-129, CWE-787
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
In the news
0 storiesNo ingested article mentions this CVE yet.