CVE-2026-76077
Description
A flaw was found in asn1scc. The XML Encoding Rules (XER) tokenizer does not properly enforce length bounds when copying tag data and fails to check buffer limits during input processing. A remote attacker could exploit this vulnerability by providing a crafted XER message, leading to stack memory corruption or out-of-bounds reads. Successful exploitation could permit arbitrary code execution, disclosure of adjacent memory, or a Denial of Service (DoS) condition by crashing or hanging the decoder.
Déclaration
Red Hat rates this vulnerability as Important rather than Critical because, although unauthenticated attackers could trigger stack corruption or service crashes remotely, successful exploitation requires an application to expose XML Encoding Rules (XER) decoding routines to unverified network data. Furthermore, asn1scc is not included in standard Red Hat Enterprise Linux environments, significantly limiting exposure across enterprise deployments. Risk remains confined to specialized workloads that ingest untrusted external ASN.1 XML streams.
Mesure d'atténuation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
--- CME Mitigation Guidance (2026-11-06) ---
Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.
The highest-value action is to bound XML tag copying to fixed buffer capacities and check stream counts during XER tokenization in the asn1scc C runtime: upgrade to asn1scc 4.7.0.1, which validates buffer bounds against stream count throughout NT() and restricts copied token characters to the destination buffer capacity, closing all 4 injection vectors (crafted XER message with overlong XML tags, truncated XML tag payload, unterminated XML comment delimiter, unterminated XML processing instruction delimiter). Until patched, this is a concern on specialized workloads and applications exposing ASN.1 XML Encoding Rules (XER) decoding routines to untrusted network input, so restrict and filter network access to services exposing ASN.1 XER decoders, preventing untrusted external ASN.1 XML streams from reaching the decoder. As a compensating measure, enable ASLR to randomize process memory layouts and hinder reliable code execution from stack corruption, enable Full RELRO and PIE to protect the Global Offset Table and constrain code redirection, deploy Control Flow Integrity or shadow call stacks to protect return addresses and validate indirect calls, enable FORTIFY_SOURCE to wrap copy operations with buffer size checks that abort execution when exceeding the 100-byte destination buffer, and configure service watchdogs and automatic restarts to recover decoder services from segmentation faults or CPU spins. These controls limit blast radius and contain exploitation, but they do not fix the underlying stack buffer overflow and out-of-bounds read defect — apply the upstream patch to fully remediate.
Highest-impact CME: CME-1204 Service Watchdog and Automatic Restart (systemd WatchdogSec/Restart) (medium)
Comprendre la Défaillance (CWE)
Integrity,Confidentiality,Availability
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands
Buffer overflows often can be used to execute arbitrary code, which is usually outside the scope of the product's implicit security policy. This can often be used to subvert any other security service.
Availability
Technical Impact: Modify Memory; DoS: Crash, Exit, or Restart; DoS: Resource Consumption (CPU)
Buffer overflows generally lead to crashes. Other attacks leading to lack of availability are possible, including putting the product into an infinite loop.
Questions fréquemment posées
Not sure what something means? Check out our Security Glossary.
Vous souhaitez recevoir des notifications d'errata ? Signez ici.