CVE-2024-53427: Buffer Overflow

Published Feb 26, 2025
·
Updated

decNumberCopy in decNumber.c in jq through 1.7.1 does not properly consider that NaN is interpreted as numeric, which has a resultant stack-based buffer overflow and out-of-bounds write, as demonstrated by use of --slurp with subtraction, such as a filter of .-. when the input has a certain form of digit string with NaN (e.g., "1 NaN123" immediately followed by many more digits).

Affected Software

2 affected components
JQ jq<=1.7.1
jqlang jq<=1.7.1

Event History

Feb 26, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-53427?

CVE-2024-53427 has a high severity rating due to its potential for causing stack-based buffer overflows.

2

How do I fix CVE-2024-53427?

To fix CVE-2024-53427, upgrade jq to version 1.7.2 or later.

3

What types of software are affected by CVE-2024-53427?

CVE-2024-53427 affects jq versions up to and including 1.7.1.

4

What exploitation conditions are required for CVE-2024-53427?

Exploitation of CVE-2024-53427 requires specific input that triggers the buffer overflow during subtraction operations.

5

Is CVE-2024-53427 easily exploitable?

Yes, CVE-2024-53427 can be easily exploited if the software processes crafted input in a vulnerable manner.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203