CVE-2023-39631: Code Injection

Published Sep 1, 2023
·
Updated

An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary code via the evaluate function in the numexpr library.

Affected Software

3 affected componentsFixes available
pip/numexpr<2.8.5
2.8.5
pip/langchain<0.0.308
0.0.308
Langchain Langchain=0.0.245

Event History

Sep 1, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
06:30 PM

Frequently Asked Questions

1

What is CVE-2023-39631?

CVE-2023-39631 is an issue in LangChain-ai LangChain v.0.0.245 that allows a remote attacker to execute arbitrary code via the evaluate function in the numexpr library.

2

What is the severity of CVE-2023-39631?

The severity of CVE-2023-39631 is critical with a CVSS score of 9.8.

3

How do I fix CVE-2023-39631?

To fix CVE-2023-39631, you need to update LangChain-ai LangChain to version v.0.0.308.

4

Is numexpr library required for LangChain-ai LangChain?

The numexpr library is an optional dependency for LangChain-ai LangChain.

5

Where can I find more information about CVE-2023-39631?

You can find more information about CVE-2023-39631 at the following references: [GitHub Issue](https://github.com/langchain-ai/langchain/issues/8363), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-39631)

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