Linux Kernel up to 6.12.82/6.18.23/6.19.13 crypto af_alg_get_rsgl buffer overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.6$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, was found in Linux Kernel up to 6.12.82/6.18.23/6.19.13. Affected is the function af_alg_get_rsgl of the component crypto. Executing a manipulation can lead to buffer overflow. This vulnerability appears as CVE-2026-31677. There is no available exploit. You should upgrade the affected component.

Detailsinfo

A vulnerability classified as critical was found in Linux Kernel up to 6.12.82/6.18.23/6.19.13. This vulnerability affects the function af_alg_get_rsgl of the component crypto. The manipulation with an unknown input leads to a buffer overflow vulnerability. The CWE definition for the vulnerability is CWE-120. The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

In the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - limit RX SG extraction by receive buffer budget Make af_alg_get_rsgl() limit each RX scatterlist extraction to the remaining receive buffer budget. af_alg_get_rsgl() currently uses af_alg_readable() only as a gate before extracting data into the RX scatterlist. Limit each extraction to the remaining af_alg_rcvbuf(sk) budget so that receive-side accounting matches the amount of data attached to the request. If skcipher cannot obtain enough RX space for at least one chunk while more data remains to be processed, reject the recvmsg call instead of rounding the request length down to zero.

The advisory is available at git.kernel.org. This vulnerability was named CVE-2026-31677 since 03/09/2026. The exploitation appears to be easy. Technical details are known, but there is no available exploit. The structure of the vulnerability defines a possible price range of USD $0-$5k at the moment (estimation calculated on 04/26/2026).

The vulnerability scanner Nessus provides a plugin with the ID 310337 (Linux Distros Unpatched Vulnerability : CVE-2026-31677), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 6.12.83, 6.18.24 or 6.19.14 eliminates this vulnerability. Applying the patch 9bf3e6ccfdcfe56ae3190d1ae987dacf1cfef4f9/07c6f6ffe29009426f0bd4d3cfbb6308b8ea8453/4a264b2614c73c96666e196bbabe0cead52bdba7/8eceab19eba9dcbfd2a0daec72e1bf48aa100170 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (310337) and EUVD (EUVD-2026-25644). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.0
VulDB Meta Temp Score: 7.6

VulDB Base Score: 8.0
VulDB Temp Score: 7.6
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Buffer overflow
CWE: CWE-120 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 310337
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-31677

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 6.12.83/6.18.24/6.19.14
Patch: 9bf3e6ccfdcfe56ae3190d1ae987dacf1cfef4f9/07c6f6ffe29009426f0bd4d3cfbb6308b8ea8453/4a264b2614c73c96666e196bbabe0cead52bdba7/8eceab19eba9dcbfd2a0daec72e1bf48aa100170

Timelineinfo

03/09/2026 CVE reserved
04/25/2026 +46 days Advisory disclosed
04/25/2026 +0 days VulDB entry created
04/26/2026 +1 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2026-31677 (🔒)
GCVE (CVE): GCVE-0-2026-31677
GCVE (VulDB): GCVE-100-359578
EUVD: 🔒

Entryinfo

Created: 04/25/2026 11:32
Updated: 04/26/2026 06:03
Changes: 04/25/2026 11:32 (60), 04/25/2026 13:02 (1), 04/26/2026 06:03 (2)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!