CVE-2023-50268: jq has stack-based buffer overflow in decNaNs

Published Dec 13, 2023
·
Updated

jq is a command-line JSON processor. Version 1.7 is vulnerable to stack-based buffer overflow in builds using decNumber. Version 1.7.1 contains a patch for this issue.

Affected Software

7 affected componentsFixes available
jqlang jq=1.7
alpine/jq<1.7.1-r0
1.7.1-r0
alpine/jq<1.7.1-r0
1.7.1-r0
alpine/jq<1.7.1-r0
1.7.1-r0
alpine/jq<1.7.1-r0
1.7.1-r0
alpine/jq<1.7.1-r0
1.7.1-r0
ubuntu/jq<1.7.1-2
1.7.1-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/jq to a version that resolves this vulnerability.

    Fixed in 1.7.1-r0
  2. Upgrade

    Upgrade ubuntu/jq to a version that resolves this vulnerability.

    Fixed in 1.7.1-2
  3. Upgrade

    Upgrade jq to a version that resolves this vulnerability.

    Fixed in 1.7.1

Event History

Dec 13, 2023
CVE Published
via MITRE·08:49 PM
Data Sourced
08:49 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·09:15 PM
DescriptionSeverityAffected Software
Dec 19, 2023
Data Sourced
01:32 AM
RemedyAffected Software
Updated
01:32 AM
SeverityWeakness
Aug 2, 2024
Data Sourced
via MITRE·10:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2023-50268?

CVE-2023-50268 is classified as a high severity vulnerability due to the potential for stack-based buffer overflow.

2

How do I fix CVE-2023-50268?

To fix CVE-2023-50268, upgrade jq from version 1.7 to version 1.7.1 or later, which contains the necessary patch.

3

What software is affected by CVE-2023-50268?

CVE-2023-50268 affects jq version 1.7 that is built with decNumber support.

4

What type of vulnerability is CVE-2023-50268?

CVE-2023-50268 is a stack-based buffer overflow vulnerability.

5

Is there a public disclosure for CVE-2023-50268?

Yes, CVE-2023-50268 has been publicly disclosed in security mailing lists and issue trackers.

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