CVE-2023-49355 Memory corruption in n/a
A one-byte out-of-bounds write in jq's decToString function allows attackers to cause memory corruption via crafted scientific notation input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-49355?
CVE-2023-49355 is a high-severity memory corruption vulnerability in n/a, published on 11 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
decToString in decNumber/decNumber.c in jq 88f01a7 has a one-byte out-of-bounds write via the " []-1.2e-1111111111" input. NOTE: this is not the same as CVE-2023-50246. The CVE-2023-50246 71c2ab5 reference mentions -10E-1000010001, which is not in normalized scientific notation.
Weakness: CWE-787
Which versions are affected by CVE-2023-49355?
It affects 1 product.
Products include Jqlang Jq.
How do I fix CVE-2023-49355?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-49355 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49355 exists.
Other vulnerabilities in n/a
- CVE-2026-32316 jq: Integer overflow in jvp_string_append() allows Heap-based Buffer Overflow
- CVE-2024-53427 Memory corruption in jq
- CVE-2025-48060 AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)
- CVE-2026-49839 jq --rawfile invalid-state reuse after String too long causes heap-buffer-overflow
- CVE-2026-54679 jq: potential integer overflow in jvp_string_append
Sources
Also known as DEBIAN-CVE-2023-49355, GHSA-4c3j-f924-rc7v.