Skip to content

Fix #2698: Add lower-bound validation on CCSDS Length field in SB transmit path#2702

Open
linerfan5114 wants to merge 1 commit into
nasa:mainfrom
linerfan5114:fix-2698-sb-lower-bound-validation
Open

Fix #2698: Add lower-bound validation on CCSDS Length field in SB transmit path#2702
linerfan5114 wants to merge 1 commit into
nasa:mainfrom
linerfan5114:fix-2698-sb-lower-bound-validation

Conversation

@linerfan5114
Copy link
Copy Markdown

Closes #2698
Related: CVE-2026-5474, CVE-2026-5475

  • Added lower-bound check in CFE_SB_MessageTxn_SetContentSize
  • Added lower-bound check in CFE_SB_AllocateMessageBuffer
  • Prevents 32 KiB heap exfiltration via 8-byte UDP datagram

… transmit path. Added ContentSize < sizeof(CFE_MSG_Message_t) check in CFE_SB_MessageTxn_SetContentSize. Added MsgSize < sizeof(CFE_MSG_Message_t) check in CFE_SB_AllocateMessageBuffer. Prevents OOB heap exfiltration via undersized CCSDS Length field.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant