Home / mailingsPDF  

[gentoo-announce] [ GLSA 202505-05 ] Orc: Arbitrary Code Execution

Posted on 12 May 2025
Gentoo-announce

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202505-05
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: Orc: Arbitrary Code Execution
Date: May 12, 2025
Bugs: #937127
ID: 202505-05

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========
A vulnerability has been discovered in Orc, which can lead to arbitrary
code execution

Background
==========
Orc is a library and set of tools for compiling and executing
very simple programs that operate on arrays of data. The "language"
is a generic assembly language that represents many of the features
available in SIMD architectures, including saturated addition and
subtraction, and many arithmetic operations.

Affected packages
=================
Package Vulnerable Unaffected
------------ ------------ ------------
dev-lang/orc < 0.4.40 >= 0.4.40

Description
===========
Please review the CVE identifier referenced below for details.

Impact
======
It is possible for a malicious third party to trigger a buffer overflow
and effect code execution with the same privileges as the orc compiler
is called with by feeding it with malformed orc source files.

This only affects developers and CI environments using orcc, not users
of liborc.

Workaround
==========
There is no known workaround at this time.

Resolution
==========
All Orc users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/orc-0.4.40"

References
==========
[ 1 ] CVE-2024-40897
https://nvd.nist.gov/vuln/detail/CVE-2024-40897

Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

https://security.gentoo.org/glsa/202505-05

Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======
Copyright 2025 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5
--===============0637906648225775642==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

 

TOP