CVE-2026-32875

UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.

Verified by Precogs Threat Research
Last Updated: Mar 20, 2026
Base Score
7.5HIGH

Executive Summary

CVE-2026-32875 is a high severity vulnerability affecting binary-analysis. It is classified as Integer Overflow. Ensure your systems and dependencies are patched immediately to mitigate exposure risks.

Precogs AI Insight

"This critical flaw stems from within UltraJSON, allowing the improper handling of untrusted input. When targeted, an adversary might use this to gain unauthorized read or write access, effectively hijacking underlying configurations. Precogs Binary SAST detects lifecycle mismanagement and dangling pointers to alert security teams to imminent boundary violations."

Exploit Probability (EPSS)
Low (0.1%)
Public POC
Undisclosed
Exploit Probability
Elevated (52%)
Public POC
Available
Affected Assets
binary analysisCWE-190

What is this vulnerability?

CVE-2026-32875 is categorized as a critical Buffer Overflow flaw. Based on our vulnerability intelligence, this issue occurs when the application fails to securely handle untrusted data boundaries.

UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Versions 5.10 through 5.11.0 are vulnerable to buffer overflo...

This architectural defect enables adversaries to bypass intended security controls, directly manipulating the application's execution state or data layer. Immediate strategic intervention is required.

Risk Assessment

MetricValue
CVSS Base Score7.5 (HIGH)
Vector StringCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
PublishedMarch 20, 2026
Last ModifiedMarch 20, 2026
Related CWEsCWE-190, CWE-787, CWE-835

Impact on Systems

Remote Code Execution: Attackers can overwrite the instruction pointer (EIP/RIP) to redirect execution to malicious shellcode.

Memory Corruption: Overwriting adjacent memory regions can corrupt critical application state, leading to unpredictable privilege escalation.

Denial of Service: Triggering segmentation faults and kernel panics results in immediate disruption of critical systems.

How to fix this issue?

Implement the following strategic mitigations immediately to eliminate the attack surface.

1. Memory-Safe Languages Where possible, migrate critical parsing logic to memory-safe languages like Rust or Go.

2. Safe Standard Libraries Replace unbounded C functions (strcpy, sprintf) with boundary-checking equivalents (strncpy, snprintf).

3. Compiler Defenses Ensure software is compiled with modern defensive flags: ASLR, DEP/NX, Stack Canaries (SSP), and Position Independent Executables (PIE).

Vulnerability Signature

// Vulnerable C Function
void parse_network_packet(char *untrusted_data) \{
    char local_buffer[128];
    // VULNERABLE: strcpy does not verify the length of the source data
    strcpy(local_buffer, untrusted_data);
    printf("Packet Processed.");
\}

// EXPLOIT PAYLOAD: 128 bytes of padding + [Overwrite EIP Address]

References and Sources

Vulnerability Code Signature

Attack Data Flow

StageDetail
SourceUser-supplied numerical value
VectorArithmetic operation exceeds the maximum value for the integer type
SinkMemory allocation or loop condition
ImpactBuffer overflow, denial of service, logic bypass

Vulnerable Code Pattern

// ❌ VULNERABLE: Integer Overflow
void allocate_memory(unsigned int num_elements) {
    // Taint sink: multiplication may overflow, resulting in a small allocation
    unsigned int size = num_elements * sizeof(int);
    int *array = (int *)malloc(size);
}

Secure Code Pattern

// ✅ SECURE: Safe arithmetic
void allocate_memory(unsigned int num_elements) {
    if (num_elements > UINT_MAX / sizeof(int)) {
        // Handle overflow error
        return;
    }
    unsigned int size = num_elements * sizeof(int);
    int *array = (int *)malloc(size);
}

How Precogs Detects This

Precogs Binary SAST engine identifies unsafe arithmetic operations and integer overflows that lead to memory corruption.\n

Related Vulnerabilitiesvia CWE-190

Is your system affected?

Precogs AI detects CVE-2026-32875 in compiled binaries, LLMs, and application layers — even without source code access.