CVE-2024-31951: frr · Classic Buffer Overflow
Affects frrSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium : upgrade to 9.2 when convenient.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 9.2
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 7 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade frrouting/frr to 9.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubfrrouting/frrpkg:github/frrouting/frrOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-31951, organizations should: 1) Monitor FRRouting project communications and promptly apply official patches or updates once released addressing this buffer overflow. 2) Implement network segmentation and access controls to restrict which devices can send OSPF LSA packets to FRR instances, limiting exposure to untrusted or potentially malicious sources. 3) Employ OSPF authentication mechanisms (e.g., cryptographic authentication) to reduce the risk of unauthorized OSPF packet injection, even though the vulnerability itself does not require authentication. 4) Use network intrusion detection or prevention systems (IDS/IPS) capable of detecting anomalous or malformed OSPF packets to block suspicious traffic. 5) Regularly audit and monitor FRR daemon logs for crashes or unusual OSPF packet processing behavior to detect exploitation attempts early. 6) Consider deploying redundant routing paths and failover mechanisms to maintain network availability if an FRR instance becomes unavailable due to this vulnerability. These targeted measures go beyond generic advice by focusing on controlling OSPF packet sources and monitoring FRR stability.
Description
In the Opaque LSA Extended Link parser in FRRouting (FRR) through 9.1, there can be a buffer overflow and daemon crash in ospf_te_parse_ext_link for OSPF LSA packets during an attempt to read Segment Routing Adjacency SID subTLVs (lengths are not validated).