I tried to attach CDemu blank CD to Virtualbox Linux Guest. The following error messages were displayed in guest dmesg. Not sure if this is a Virtualbox or CDemu issue.
[ 1178.154080] sr 0:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[ 1178.154088] sr 0:0:0:0: [sr0] tag#0 Sense Key : Medium Error [current]
[ 1178.154091] sr 0:0:0:0: [sr0] tag#0 Add. Sense: Unrecovered read error
[ 1178.154094] sr 0:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 1178.154096] I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 1220.928370] sr 0:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[ 1220.928393] sr 0:0:0:0: [sr0] tag#0 Sense Key : Medium Error [current]
[ 1220.928401] sr 0:0:0:0: [sr0] tag#0 Add. Sense: Unrecovered read error
[ 1220.928410] sr 0:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 1220.928417] I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 1249.646131] sr 0:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[ 1249.646143] sr 0:0:0:0: [sr0] tag#0 Sense Key : Medium Error [current]
[ 1249.646147] sr 0:0:0:0: [sr0] tag#0 Add. Sense: Unrecovered read error
[ 1249.646152] sr 0:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 1249.646155] I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 1405.757721] sr 0:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[ 1405.757744] sr 0:0:0:0: [sr0] tag#0 Sense Key : Medium Error [current]
[ 1405.757752] sr 0:0:0:0: [sr0] tag#0 Add. Sense: Unrecovered read error
[ 1405.757762] sr 0:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 1405.757768] I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 1430.507989] sr 0:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[ 1430.508013] sr 0:0:0:0: [sr0] tag#0 Sense Key : Medium Error [current]
[ 1430.508022] sr 0:0:0:0: [sr0] tag#0 Add. Sense: Unrecovered read error
[ 1430.508032] sr 0:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 1430.508038] I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
cdemu-client - 3.2.5-1
cdemu-daemon - 3.2.6-1
gcdemu - 3.2.6-1
gir1.2-mirage-3.2 - 3.2.6-1
image-analyzer - 3.2.5-1
libmirage11 - 3.2.6-1
Guest was Ubuntu 22.04 LTS.
Later I installed cdemu in linux guest from Ubuntu cdemu PPA and it worked fine in the guest.