A denial-of-service vulnerability exists in Vanetza versions 26.02 and earlier, affecting the cryptographic verification pipeline for V2X (Vehicle-to-Everything) messages. The flaw stems from inconsistent enforcement of ASN.1 semantic constraints: malformed certificates with invalid Psid (Provider Service Identifier) subtypes are accepted during initial parsing but trigger an unhandled std::runtime_error during OER re-encoding when StraightVerifyService calculates message hashes. This exception propagates to std::terminate, causing immediate process termination. The vulnerability is remotely exploitable without authentication, as attackers can craft malicious V2X messages to crash Vanetza-based C-ITS (Cooperative Intelligent Transport Systems) implementations. The fix in commit e1a2e2709210d309458c3d77f98d50dec26c0df0 addresses the constraint validation gap.
Vanetza, an open-source implementation of the ETSI C-ITS protocol suite for vehicle-to-everything (V2X) communications, contains a denial-of-service vulnerability in versions 26.02 and earlier. The flaw resides in the ASN.1/OER parsing pipeline, specifically within the asn1c_wrapper.cpp component. When the software processes malformed network packets containing corrupted ASN.1/OER structures—such as invalid length fields or malformed certificate encoding—the ASN.1 wrapper raises a std::runtime_error exception. This exception is not caught at the parsing boundary and propagates to std::terminate, causing immediate process termination. The vulnerability is remotely exploitable without authentication, as malformed packets can be sent over the network to trigger the unhandled exception. The CVSS 3.1 score of 7.5 (HIGH) reflects the network attack vector, low attack complexity, no required privileges or user interaction, and high availability impact. The weakness is categorized as CWE-248: Uncaught Exception. A fix has been committed to address the exception handling deficiency.